[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1305010853450.4547@chino.kir.corp.google.com>
Date: Wed, 1 May 2013 08:54:49 -0700 (PDT)
From: David Rientjes <rientjes@...gle.com>
To: Robert Love <rlove@...gle.com>
cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Shankar Brahadeeswaran <shankoo77@...il.com>,
Dan Carpenter <dan.carpenter@...cle.com>,
LKML <linux-kernel@...r.kernel.org>,
Bjorn Bringert <bringert@...gle.com>,
devel <devel@...verdev.osuosl.org>,
Hugh Dickins <hughd@...gle.com>,
Anjana V Kumar <anjanavk12@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-next <linux-next@...r.kernel.org>
Subject: Re: [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@...gle.com>
Any reason not to send this to stable@...r.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.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists