mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[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>
This commit is contained in:
parent
7de6b80579
commit
561ccd3a97
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue