On 05/22/2014 05:09 AM, Mel Gorman wrote: > From: Dave Chinner <david@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxxxx> > Signed-off-by: Mel Gorman <mgorman@xxxxxxx> Acked-by: Rik van Riel <riel@xxxxxxxxxx> -- All rights reversed -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>