Re: [PATCH] SLUB: fix build when !SLUB_DEBUG

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-06-11 at 14:08 +0400, Alexander Beregalov wrote:
> Fix this build error when CONFIG_SLUB_DEBUG is not set:
> mm/slub.c: In function 'slab_out_of_memory':
> mm/slub.c:1551: error: 'struct kmem_cache_node' has no member named 'nr_slabs'
> mm/slub.c:1552: error: 'struct kmem_cache_node' has no member named 'total_objects'
> 
> Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>

I applied the patch in slightly edited form:

http://git.kernel.org/?p=linux/kernel/git/penberg/slab-2.6.git;a=commitdiff;h=353b7a490acf04989c0e3ba57165c20b8328cb12

Thanks, Alexander!

			Pekka

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux