lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 06 Jun 2007 00:58:03 +1000
From:	Rusty Russell <rusty@...tcorp.com.au>
To:	Andrew Morton <akpm@...ux-foundation.org>
Cc:	lkml - Kernel Mailing List <linux-kernel@...r.kernel.org>,
	bzolnier@...il.com, Matt Mackall <mpm@...enic.com>
Subject: [PATCH 3/6] lguest suppress IDE probing

The IDE probe is the slowest part of boot: by suppressing it we cut
boot from from 3 seconds to half a second.

AFAICT, the commandline is the easiest way to suppress the probing.

Signed-off-by: Rusty Russell <rusty@...tcorp.com.au>
---
 drivers/lguest/lguest.c |    6 ++++++
 1 file changed, 6 insertions(+)

===================================================================
--- a/drivers/lguest/lguest.c
+++ b/drivers/lguest/lguest.c
@@ -605,6 +605,12 @@ __init void lguest_init(void *boot)
 	acpi_disabled = 1;
 	acpi_ht = 0;
 #endif
+#ifdef CONFIG_BLK_DEV_IDE
+	/* Saves three seconds off boot time. */
+	strcat(boot_command_line,
+	       " ide0=noprobe ide1=noprobe ide2=noprobe"
+	       " ide3=noprobe ide4=noprobe ide5=noprobe");
+#endif
 
 	add_preferred_console("hvc", 0, NULL);
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ