From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 18 Dec 2006 21:30:09 -0800 From: Randy Dunlap Subject: [PATCH] handle SLOB with sparsemen Message-Id: <20061218213009.91101cdd.randy.dunlap@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org From: Yasunori Goto Return-Path: To: linux-mm@kvack.org Cc: akpm , y-goto@jp.fujitsu.com List-ID: (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 Acked-by: Randy Dunlap Acked-by: Hugh Dickins ---- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.20-rc1-mm1.orig/init/Kconfig +++ linux-2.6.20-rc1-mm1/init/Kconfig @@ -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 majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org