diff options
author | Yasunori Goto <y-goto@jp.fujitsu.com> | 2006-12-22 04:09:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 11:55:49 -0500 |
commit | 561ccd3a97867ed33e1670feeca3391cd4d6fa2c (patch) | |
tree | ae004d4a913c8c3790edcce8065fb9d9d26a875d /init/Kconfig | |
parent | 7de6b8057976584e5a422574cae4dd21c677b4d4 (diff) |
[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: Yasunori Goto <y-goto@jp.fujitsu.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r-- | init/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index 9b1adb176ea8..a3f83e2c8250 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -450,7 +450,7 @@ config SHMEM | |||
450 | 450 | ||
451 | config SLAB | 451 | config SLAB |
452 | default y | 452 | default y |
453 | bool "Use full SLAB allocator" if EMBEDDED | 453 | bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM) |
454 | help | 454 | help |
455 | Disabling this replaces the advanced SLAB allocator and | 455 | Disabling this replaces the advanced SLAB allocator and |
456 | kmalloc support with the drastically simpler SLOB allocator. | 456 | kmalloc support with the drastically simpler SLOB allocator. |