handle SLOB with sparsemen
PATCH 1/1 handle SLOB with sparsemen
(seems to have been lost)
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.
This patch is for 2.6.19-rc5-mm2.
Signed-off-by Yasunori Goto <[email protected]>
Acked-by Randy Dunlap <[email protected]>
Acked-by Hugh Dickins <[email protected]>
----
init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
init/Kconfig +1 -1
@@ -476,7 +476,7 @@ config SHMEM config SLAB default y - bool "Use full SLAB allocator" if EMBEDDED + bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM) help Disabling this replaces the advanced SLAB allocator and kmalloc support with the drastically simpler SLOB allocator.
---
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 1 line
(seems to have been lost)
Ah, yes. Andrew-san, please apply.
Quoted 28 lines
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.This patch is for 2.6.19-rc5-mm2.
Signed-off-by Yasunori Goto <[email protected]>Acked-by Randy Dunlap <[email protected]>Acked-by Hugh Dickins <[email protected]>----
init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)init/Kconfig +1
-2@@ -476,7 +476,7 @@ config SHMEM config SLAB default y - bool "Use full SLAB allocator" if EMBEDDED + bool "Use full SLAB allocator" if (EMBEDDED && !SMP && !SPARSEMEM) help Disabling this replaces the advanced SLAB allocator and kmalloc support with the drastically simpler SLOB allocator. ---
Signature · 8 lines
Yasunori Goto -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>