linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] handle SLOB with sparsemen
@ 2006-12-19  5:30 Randy Dunlap, Yasunori Goto
  2006-12-19 11:01 ` Yasunori Goto
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap, Yasunori Goto @ 2006-12-19  5:30 UTC (permalink / raw)
  To: linux-mm; +Cc: akpm, y-goto

(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 <y-goto@jp.fujitsu.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
----
 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] handle SLOB with sparsemen
  2006-12-19  5:30 [PATCH] handle SLOB with sparsemen Randy Dunlap, Yasunori Goto
@ 2006-12-19 11:01 ` Yasunori Goto
  0 siblings, 0 replies; 2+ messages in thread
From: Yasunori Goto @ 2006-12-19 11:01 UTC (permalink / raw)
  To: akpm; +Cc: linux-mm, Randy Dunlap

> (seems to have been lost)

Ah, yes. Andrew-san, please apply.

> 
> 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 <y-goto@jp.fujitsu.com>
> Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
> Acked-by: Hugh Dickins <hugh@veritas.com>
> ----
>  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.
> 
> 
> ---

-- 
Yasunori Goto 


--
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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-19 11:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-19  5:30 [PATCH] handle SLOB with sparsemen Randy Dunlap, Yasunori Goto
2006-12-19 11:01 ` Yasunori Goto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox