mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] let LOG_BUF_SHIFT default to 17
Date: Mon, 28 Jan 2008 14:37:48 -0800	[thread overview]
Message-ID: <20080128143748.530a33d1.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20080128221223.GE8767@does.not.exist>

On Tue, 29 Jan 2008 00:12:23 +0200 Adrian Bunk wrote:

> 16 kB is often no longer enough for a normal boot of an UP system.

s/16/64/ then agreed.

Acked-by: Randy Dunlap <randy.dunlap@oracle.com>


> And even less when people e.g. use suspend.
> 
> 17 seems to be a more reasonable default for current kernels on current 
> hardware (it's just the default, anyone who is memory limited can 
> still lower it).
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
> 
> ---
> f02213e3c1cb90ec1c66227f037110d489f30bfd 
> diff --git a/init/Kconfig b/init/Kconfig
> index 0eda68f..81a1255 100644
> --- a/init/Kconfig
> +++ b/init/Kconfig
> @@ -272,17 +272,14 @@ config IKCONFIG_PROC
>  config LOG_BUF_SHIFT
>  	int "Kernel log buffer size (16 => 64KB, 17 => 128KB)"
>  	range 12 21
> -	default 17 if S390 || LOCKDEP
> -	default 16 if X86_NUMAQ || IA64
> -	default 15 if SMP
> -	default 14
> +	default 17
>  	help
>  	  Select kernel log buffer size as a power of 2.
> -	  Defaults and Examples:
> -	  	     17 => 128 KB for S/390
> -		     16 => 64 KB for x86 NUMAQ or IA-64
> -	             15 => 32 KB for SMP
> -	             14 => 16 KB for uniprocessor
> +	  Examples:
> +	  	     17 => 128 KB
> +		     16 => 64 KB
> +	             15 => 32 KB
> +	             14 => 16 KB
>  		     13 =>  8 KB
>  		     12 =>  4 KB
>  
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


---
~Randy

  reply	other threads:[~2008-01-28 22:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28 22:12 Adrian Bunk
2008-01-28 22:37 ` Randy Dunlap [this message]
2008-01-29  6:35 ` Andi Kleen
2008-01-29  7:36   ` Adrian Bunk
2008-02-01 16:20 ` Ingo Molnar
2008-02-11 22:42   ` Adrian Bunk
2008-02-17  8:17 Adrian Bunk

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=20080128143748.530a33d1.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome