lkml.org 
[lkml]   [2015]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH -mm] slub: kmem_cache_shrink: init discard list after freeing slabs
On Wed, 11 Feb 2015, Vladimir Davydov wrote:

> > Also the promote array should also be initialized in the loop right?
>
> I do initialize promote lists in the loop using list_splice_init, but
> yeah, initializing them in the beginning of the loop would look more
> readable indeed. The updated patch is below. Thanks!

Acked-by: Christoph Lameter <cl@linux.com>


\
 
 \ /
  Last update: 2015-02-11 17:01    [W:0.050 / U:6.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site