lkml.org 
[lkml]   [2013]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -next] ashmem: Fix ashmem_shrink deadlock.
On Wed, 1 May 2013, Robert Love wrote:

> Don't acquire ashmem_mutex in ashmem_shrink if we've somehow recursed into the
> shrinker code from within ashmem. Just bail out, avoiding a deadlock. This is
> fine, as ashmem cache pruning is advisory anyhow.
>
> Signed-off-by: Robert Love <rlove@google.com>

Any reason not to send this to stable@vger.kernel.org if it fixes an
observable deadlock? (It's annotated to be applied to linux-next, but I
don't see any differences between it and Linus's tree.)


\
 
 \ /
  Last update: 2013-05-01 18:21    [W:0.627 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site