Re: [PATCH 3/6] lguest suppress IDE probing

From: Alan Cox
Date: Tue Jun 05 2007 - 12:03:19 EST


On Wed, 06 Jun 2007 00:58:03 +1000
Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

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

NAK NAK NAK NAK NAK

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

Gaa ... Rusty surely you have more taste than that.

See include/asm-foo/ide.h

Add an lguest check to go with the pci check and for the lguest case just
say "no controllers"

Better yet just don't compile in the old IDE stuff, lguest doesn't have a
PCI or ISA bus anyway.

Alternatively make the IDE I/O space return 0xFF and it'll skip them
anyway.

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