lkml.org 
[lkml]   [2011]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] slab: avoid unnecessary touching of a partial slab
From
Date
On Fri, 2011-08-26 at 10:05 -0500, Christoph Lameter wrote:
> On Fri, 26 Aug 2011, Zhao Jin wrote:
>
> > > Correct but still tthe del/add is a list_move operation. Convert that the
> > > other case as well?
> > >
> > Yes. The patch avoids list_del/list_add only if it is the case that a
> > partial slab was used for refilling and remains partial (that is:
> > partial => partial). If it is not the case( so it must be either partial
> > => full, free => full or free => partial) the patched code behaves the
> > same as current (list_del/list_add).
>
> The second case is what I want you to change to list_move.
>
>
Oops. I misunderstood your reply... I shall do it. Thanks a lot for
pointing it out.

Regards,
zhj




\
 
 \ /
  Last update: 2011-08-26 17:25    [W:0.036 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site