Re: [PATCH] slub: Hold list_lock unconditionally before the call to add_full.

2014-02-07 Thread Gautham R Shenoy
On Fri, Feb 07, 2014 at 12:46:19PM -0800, David Rientjes wrote: > On Sat, 8 Feb 2014, Gautham R Shenoy wrote: > > > Hi, > > > > From the lockdep annotation and the comment that existed before the > > lockdep annotations were introduced, > > mm/slub.c:add_full(s, n, page) expects to be called wit

Re: [PATCH] slub: Hold list_lock unconditionally before the call to add_full.

2014-02-07 Thread David Rientjes
On Sat, 8 Feb 2014, Gautham R Shenoy wrote: > Hi, > > From the lockdep annotation and the comment that existed before the > lockdep annotations were introduced, > mm/slub.c:add_full(s, n, page) expects to be called with n->list_lock > held. > > However, there's a call path in deactivate_slab()