Re: [PATCH -next] ashmem: Fix ashmem_shrink deadlock.

2013-09-16 Thread Raul Xiong
2013/5/17 Robert Love : > On Thu, May 16, 2013 at 1:19 PM, Andrew Morton > wrote: >> On Thu, 16 May 2013 13:08:17 -0400 Robert Love wrote: >>> This problem seems a rare proper use of mutex_trylock. >> >> Not really. The need for a trylock is often an indication that a >> subsystem has a locking

Re: [PATCH -next] ashmem: Fix ashmem_shrink deadlock.

2013-05-16 Thread Raul Xiong
2013/5/14 Raul Xiong > > 2013/5/14 Neil Zhang : > > 2013/5/14 Greg Kroah-Hartman : > >> On Wed, May 01, 2013 at 09:56:13AM -0400, Robert Love wrote: > >>> Don't acquire ashmem_mutex in ashmem_shrink if we've somehow recursed > >>> into th

Re: [PATCH -next] ashmem: Fix ashmem_shrink deadlock.

2013-05-13 Thread Raul Xiong
ck_slowpath) from [] [] (mutex_lock) from [] [] (ashmem_shrink) from [] [] (shrink_slab) from [] [] (try_to_free_pages) from [] [] (__alloc_pages_nodemask) from [] [] (new_slab) from [] [] (__slab_alloc.isra.46.constprop.52) from [] [] (kmem_cache_alloc) from [] [] (shmem_alloc_inode) from [] [] (alloc_i

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Raul Xiong
2012/9/12 Russell King - ARM Linux : > On Wed, Sep 12, 2012 at 02:40:45PM +0530, Shilimkar, Santosh wrote: >> On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux >> wrote: >> > On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: >> >> On Wed, Sep 12, 2012 at 12:48 PM, wzch w