The patch titled
add "notime" boot option
has been added to the -mm tree. Its filename is
add-notime-boot-option.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: add "notime" boot option
From: Randy Dunlap <[EMAIL PROTECTED]>
Add "notime" boot option to prevent timing data from being printed on each
printk message line.
We've seen a few cases of 'time' data locking problems (possibly involving
netconsole or net drivers). If a kernel is built with
CONFIG_PRINTK_TIME=y, it may have a boot locking hang. Booting with
"notime" may (i.e., could) prevent the lock hang and allow the kernel to
boot successfully, without requiring a kernel rebuild.
Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
Documentation/kernel-parameters.txt | 2 ++
kernel/printk.c | 10 +++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff -puN Documentation/kernel-parameters.txt~add-notime-boot-option
Documentation/kernel-parameters.txt
--- a/Documentation/kernel-parameters.txt~add-notime-boot-option
+++ a/Documentation/kernel-parameters.txt
@@ -1237,6 +1237,8 @@ and is between 256 and 4096 characters.
nosync [HW,M68K] Disables sync negotiation for all devices.
+ notime Do not print timing data on each printk message line.
+
notsc [BUGS=X86-32] Disable Time Stamp Counter
nousb [USB] Disable the USB subsystem
diff -puN kernel/printk.c~add-notime-boot-option kernel/printk.c
--- a/kernel/printk.c~add-notime-boot-option
+++ a/kernel/printk.c
@@ -458,9 +458,17 @@ static int __init printk_time_setup(char
printk_time = 1;
return 1;
}
-
__setup("time", printk_time_setup);
+static int __init printk_notime_setup(char *str)
+{
+ if (*str)
+ return 0;
+ printk_time = 0;
+ return 1;
+}
+__setup("notime", printk_notime_setup);
+
__attribute__((weak)) unsigned long long printk_clock(void)
{
return sched_clock();
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
mm-merge-populate-and-nopage-into-fault-fixes-nonlinear.patch
romfs-printk-format-warnings.patch
add-pci_try_set_mwi.patch
git-unionfs.patch
add-pci_try_set_mwi-prism54pci.patch
git-ipwireless_cs.patch
documentation-fix-the-explanation-of-kconfig-files.patch
update-dontdiff-file.patch
doc-clocksources.patch
doc-kernel-parameters-use-x86-32-tag-instead-of-ia-32.patch
add-argv_split-fix.patch
add-common-orderly_poweroff-fix.patch
add-notime-boot-option.patch
profile-likely-unlikely-macros.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html