Messages in this thread | | | Date | Thu, 22 May 2014 11:52:46 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH 1/3] fs/superblock: Unregister sb shrinker before ->kill_sb() |
| |
On 05/22/2014 05:09 AM, Mel Gorman wrote: > From: Dave Chinner <david@fromorbit.com> > > We will like to unregister the sb shrinker before ->kill_sb(). > This will allow cached objects to be counted without call to > grab_super_passive() to update ref count on sb. We want > to avoid locking during memory reclamation especially when > we are skipping the memory reclaim when we are out of > cached objects.
> Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com> > Signed-off-by: Mel Gorman <mgorman@suse.de>
Acked-by: Rik van Riel <riel@redhat.com>
-- All rights reversed
| |