lkml.org 
[lkml]   [2008]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 2/3] cpu alloc: Remove slub fields
Pekka Enberg wrote:
> Hi Christoph,
>
> Christoph Lameter wrote:
>> @@ -2196,8 +2163,11 @@
>> if (!init_kmem_cache_nodes(s, gfpflags & ~SLUB_DMA))
>> goto error;
>>
>> - if (alloc_kmem_cache_cpus(s, gfpflags & ~SLUB_DMA))
>> + s->cpu_slab = CPU_ALLOC(struct kmem_cache_cpu,
>> + (flags & ~SLUB_DMA) | __GFP_ZERO);
>> + if (!s->cpu_slab)
>> return 1;
>
> This should be s->cpu_slab, no?

Correct. Newer rev that will be based on cpu_alloc V6 will have that.


\
 
 \ /
  Last update: 2008-10-02 18:25    [W:0.058 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site