From: Pekka Enberg <penberg@cs.helsinki.fi>
To: Nick Piggin <npiggin@suse.de>
Cc: Linux Memory Management List <linux-mm@kvack.org>, mingo@elte.hu
Subject: Re: [patch 5/5] mm: prompt slqb default for oldconfig
Date: Thu, 16 Apr 2009 11:55:09 +0300 [thread overview]
Message-ID: <1239872109.15377.7.camel@penberg-laptop> (raw)
In-Reply-To: <20090414165058.GE14873@wotan.suse.de>
Hi Nick,
On Tue, 2009-04-14 at 18:50 +0200, Nick Piggin wrote:
> Hi Pekka,
>
> Well there have been reasonably significant changes both for SLQB and
> SLUB that I thought it is better to wait one more round before merging
> SLQB. Also, SLQB may not have been getting as much testing as it could
> have in -next, due to oldconfig choosing existing config as the default.
>
> Thanks,
> Nick
> --
>
> Change Kconfig names for slab allocator choices to prod SLQB into being
> the default. Hopefully increasing testing base.
>
> Signed-off-by: Nick Piggin <npiggin@suse.de>
I went ahead and applied this too. IIRC, Ingo had some ideas how this
should be handled so lets CC him as well.
Pekka
> ---
> Index: linux-2.6/init/Kconfig
> ===================================================================
> --- linux-2.6.orig/init/Kconfig 2009-04-15 02:36:05.000000000 +1000
> +++ linux-2.6/init/Kconfig 2009-04-15 02:41:25.000000000 +1000
> @@ -975,18 +975,23 @@ config COMPAT_BRK
>
> choice
> prompt "Choose SLAB allocator"
> - default SLQB
> + default SLQB_ALLOCATOR
> help
> This option allows to select a slab allocator.
>
> -config SLAB
> +config SLAB_ALLOCATOR
> bool "SLAB"
> help
> The regular slab allocator that is established and known to work
> well in all environments. It organizes cache hot objects in
> per cpu and per node queues.
>
> -config SLUB
> +config SLAB
> + bool
> + default y
> + depends on SLAB_ALLOCATOR
> +
> +config SLUB_ALLOCATOR
> bool "SLUB (Unqueued Allocator)"
> help
> SLUB is a slab allocator that minimizes cache line usage
> @@ -996,11 +1001,21 @@ config SLUB
> and has enhanced diagnostics. SLUB is the default choice for
> a slab allocator.
>
> -config SLQB
> +config SLUB
> + bool
> + default y
> + depends on SLUB_ALLOCATOR
> +
> +config SLQB_ALLOCATOR
> bool "SLQB (Queued allocator)"
> help
> SLQB is a proposed new slab allocator.
>
> +config SLQB
> + bool
> + default y
> + depends on SLQB_ALLOCATOR
> +
> config SLOB
> depends on EMBEDDED
> bool "SLOB (Simple 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>
next prev parent reply other threads:[~2009-04-16 8:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-14 16:44 [patch 1/5] slqb: irq section fix Nick Piggin
2009-04-14 16:45 ` [patch 2/5] slqb: fix compilation warning Nick Piggin
2009-04-14 16:46 ` [patch 3/5] slqb: cap remote free list size Nick Piggin
2009-04-14 16:46 ` [patch 4/5] slqb: config slab size Nick Piggin
2009-04-14 16:50 ` [patch 5/5] mm: prompt slqb default for oldconfig Nick Piggin
2009-04-16 8:55 ` Pekka Enberg [this message]
2009-04-16 9:22 ` Ingo Molnar
2009-04-16 9:30 ` Nick Piggin
2009-04-16 8:51 ` [patch 1/5] slqb: irq section fix Pekka Enberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1239872109.15377.7.camel@penberg-laptop \
--to=penberg@cs.helsinki.fi \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
--cc=npiggin@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox