lkml.org 
[lkml]   [2016]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 12/17] mm/slab: do not change cache size if debug pagealloc isn't possible
On Fri, 26 Feb 2016, js1304@gmail.com wrote:

> We can fail to setup off slab in some conditions. Even in this case,
> debug pagealloc increases cache size to PAGE_SIZE in advance and it is
> waste because debug pagealloc cannot work for it when it isn't the off
> slab. To improve this situation, this patch checks first that this cache
> with increased size is suitable for off slab. It actually increases cache
> size when it is suitable for off-slab, so possible waste is removed.

Maybe add some explanations to the code? You tried to simplify it earlier
and make it understandable. This makes it difficult to understand it.

\
 
 \ /
  Last update: 2016-02-26 18:01    [W:0.114 / U:4.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site