提交 561ccd3a 编写于 作者: Y Yasunori Goto 提交者: Linus Torvalds

[PATCH] handle SLOB with sparsemen

This is to disallow to make SLOB with SMP or SPARSEMEM.  This avoids latent
troubles of SLOB with SLAB_DESTROY_BY_RCU.  And fix compile error.
Signed-off-by: NYasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: NHugh Dickins <hugh@veritas.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 7de6b805
...@@ -450,7 +450,7 @@ config SHMEM ...@@ -450,7 +450,7 @@ config SHMEM
config SLAB config SLAB
default y default y
bool "Use full SLAB allocator" if EMBEDDED bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM)
help help
Disabling this replaces the advanced SLAB allocator and Disabling this replaces the advanced SLAB allocator and
kmalloc support with the drastically simpler SLOB allocator. kmalloc support with the drastically simpler SLOB allocator.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册