lkml.org 
[lkml]   [2004]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] preset loops_per_jiffy for faster booting
On Fri, Jul 09, 2004 at 12:25:03PM -0700, Tim Bird wrote:
> Finally, this code adds a new FASTBOOT menu to the kernel
> config system, where we (CE Linux Forum developers) would like
> to add this and other config options which can be used to
> reduce kernel bootup time.

<snip>

> +menuconfig FASTBOOT
> + bool "Fast boot options"
> + help
> + Say Y here to enable faster booting of the Linux kernel. If you
> + say Y here, you may be asked to provide hardcoded values for some
> + parameters that the kernel usually determines automatically.

If FASTBOOT is intended to be merely a container for individual related
options, this help text seems misleading. FASTBOOT=y alone will have no
effect on the kernel. It's just a gateway to other more specific
options. Something like this may be better:

Say Y here to select among various options that can decrease
kernel boot time. These options commonly involve providing
hardcoded values for some parameters that the kernel usually
determines automatically.

This option is useful primarily on embedded systems.

If unsure, say N.

> +config PRESET_LPJ
> + int "Preset loops_per_jiffy" if USE_PRESET_LPJ
> + help
> + This is the number of loops used by delay() to achieve a single
> + jiffy of delay inside the kernel. It is roughly BogoMips * 5000.
> + To determine the correct value for your kernel, first turn off
> + the fast booting option, compile and boot the kernel on your
> + target hardware, then see what value is printed during the
> + kernel boot. Use that value here.

Perhaps mention the new lpj= parameter is an alternative:

loops_per_jiffy can also be set via the "lpj=" kernel command
line parameter.

--Adam

-
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/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.071 / U:0.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site