* [PATCH] ide/net: flip the order of SATA and network init
@ 2009-01-27 22:19 Arjan van de Ven
2009-01-27 22:26 ` David Miller
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Arjan van de Ven @ 2009-01-27 22:19 UTC (permalink / raw)
To: linux-ide, netdev
>From e89d6840ad685a3c61f72367d4ac5bfed69ead0c Mon Sep 17 00:00:00 2001
From: Arjan van de Ven <arjan@linux.intel.com>
Date: Mon, 26 Jan 2009 18:58:11 -0800
Subject: [PATCH] ide/net: flip the order of SATA and network init
this patch flips the order in which sata and network drivers are initialized.
SATA probing takes quite a bit of time, and with the asynchronous infrastructure
other drivers that run after it can execute in parallel. Network drivers do tend
to take some real time talking to the hardware, so running these later is
a good thing (the sata probe then runs concurrent)
This saves about 15% of my kernels boot time.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
---
drivers/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/Makefile b/drivers/Makefile
index c1bf417..2618a61 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -36,13 +36,14 @@ obj-$(CONFIG_FB_INTEL) += video/intelfb/
obj-y += serial/
obj-$(CONFIG_PARPORT) += parport/
-obj-y += base/ block/ misc/ mfd/ net/ media/
+obj-y += base/ block/ misc/ mfd/ media/
obj-$(CONFIG_NUBUS) += nubus/
-obj-$(CONFIG_ATM) += atm/
obj-y += macintosh/
obj-$(CONFIG_IDE) += ide/
obj-$(CONFIG_SCSI) += scsi/
obj-$(CONFIG_ATA) += ata/
+obj-y += net/
+obj-$(CONFIG_ATM) += atm/
obj-$(CONFIG_FUSION) += message/
obj-$(CONFIG_FIREWIRE) += firewire/
obj-y += ieee1394/
--
1.6.0.5
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-27 22:19 [PATCH] ide/net: flip the order of SATA and network init Arjan van de Ven
@ 2009-01-27 22:26 ` David Miller
2009-01-27 23:35 ` Jeff Garzik
2009-01-28 0:22 ` Bartlomiej Zolnierkiewicz
2 siblings, 0 replies; 7+ messages in thread
From: David Miller @ 2009-01-27 22:26 UTC (permalink / raw)
To: arjan; +Cc: linux-ide, netdev
From: Arjan van de Ven <arjan@infradead.org>
Date: Tue, 27 Jan 2009 14:19:52 -0800
> ide/net: flip the order of SATA and network init
>
> this patch flips the order in which sata and network drivers are initialized.
>
> SATA probing takes quite a bit of time, and with the asynchronous infrastructure
> other drivers that run after it can execute in parallel. Network drivers do tend
> to take some real time talking to the hardware, so running these later is
> a good thing (the sata probe then runs concurrent)
>
> This saves about 15% of my kernels boot time.
>
> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
I have no problem with this:
Acked-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-27 22:19 [PATCH] ide/net: flip the order of SATA and network init Arjan van de Ven
2009-01-27 22:26 ` David Miller
@ 2009-01-27 23:35 ` Jeff Garzik
2009-01-28 0:48 ` Arjan van de Ven
2009-01-28 0:22 ` Bartlomiej Zolnierkiewicz
2 siblings, 1 reply; 7+ messages in thread
From: Jeff Garzik @ 2009-01-27 23:35 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: linux-ide, netdev
Arjan van de Ven wrote:
>>From e89d6840ad685a3c61f72367d4ac5bfed69ead0c Mon Sep 17 00:00:00 2001
> From: Arjan van de Ven <arjan@linux.intel.com>
> Date: Mon, 26 Jan 2009 18:58:11 -0800
> Subject: [PATCH] ide/net: flip the order of SATA and network init
>
> this patch flips the order in which sata and network drivers are initialized.
>
> SATA probing takes quite a bit of time, and with the asynchronous infrastructure
> other drivers that run after it can execute in parallel. Network drivers do tend
> to take some real time talking to the hardware, so running these later is
> a good thing (the sata probe then runs concurrent)
>
> This saves about 15% of my kernels boot time.
>
> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
> ---
> drivers/Makefile | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index c1bf417..2618a61 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -36,13 +36,14 @@ obj-$(CONFIG_FB_INTEL) += video/intelfb/
>
> obj-y += serial/
> obj-$(CONFIG_PARPORT) += parport/
> -obj-y += base/ block/ misc/ mfd/ net/ media/
> +obj-y += base/ block/ misc/ mfd/ media/
> obj-$(CONFIG_NUBUS) += nubus/
> -obj-$(CONFIG_ATM) += atm/
> obj-y += macintosh/
> obj-$(CONFIG_IDE) += ide/
> obj-$(CONFIG_SCSI) += scsi/
> obj-$(CONFIG_ATA) += ata/
> +obj-y += net/
> +obj-$(CONFIG_ATM) += atm/
> obj-$(CONFIG_FUSION) += message/
> obj-$(CONFIG_FIREWIRE) += firewire/
> obj-y += ieee1394/
ACK, ok with me too
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-27 23:35 ` Jeff Garzik
@ 2009-01-28 0:48 ` Arjan van de Ven
2009-01-28 1:23 ` David Miller
0 siblings, 1 reply; 7+ messages in thread
From: Arjan van de Ven @ 2009-01-28 0:48 UTC (permalink / raw)
To: Jeff Garzik; +Cc: linux-ide, netdev
On Tue, 27 Jan 2009 18:35:37 -0500
Jeff Garzik <jeff@garzik.org> wrote:
> ACK, ok with me too
>
ok so... which tree should this go via?
I would guess jgarzik's because he deals with both sata and net ;)
Jeff... how do you want to handle this?
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-28 0:48 ` Arjan van de Ven
@ 2009-01-28 1:23 ` David Miller
2009-01-28 1:59 ` Jeff Garzik
0 siblings, 1 reply; 7+ messages in thread
From: David Miller @ 2009-01-28 1:23 UTC (permalink / raw)
To: arjan; +Cc: jeff, linux-ide, netdev
From: Arjan van de Ven <arjan@infradead.org>
Date: Tue, 27 Jan 2009 16:48:42 -0800
> On Tue, 27 Jan 2009 18:35:37 -0500
> Jeff Garzik <jeff@garzik.org> wrote:
>
> > ACK, ok with me too
> >
>
> ok so... which tree should this go via?
Feel free to just submit it directly to Linus, you have both
of our ACKs :-)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-28 1:23 ` David Miller
@ 2009-01-28 1:59 ` Jeff Garzik
0 siblings, 0 replies; 7+ messages in thread
From: Jeff Garzik @ 2009-01-28 1:59 UTC (permalink / raw)
To: David Miller; +Cc: arjan, linux-ide, netdev
David Miller wrote:
> From: Arjan van de Ven <arjan@infradead.org>
> Date: Tue, 27 Jan 2009 16:48:42 -0800
>
>> On Tue, 27 Jan 2009 18:35:37 -0500
>> Jeff Garzik <jeff@garzik.org> wrote:
>>
>>> ACK, ok with me too
>>>
>> ok so... which tree should this go via?
>
> Feel free to just submit it directly to Linus, you have both
> of our ACKs :-)
ACK :)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] ide/net: flip the order of SATA and network init
2009-01-27 22:19 [PATCH] ide/net: flip the order of SATA and network init Arjan van de Ven
2009-01-27 22:26 ` David Miller
2009-01-27 23:35 ` Jeff Garzik
@ 2009-01-28 0:22 ` Bartlomiej Zolnierkiewicz
2 siblings, 0 replies; 7+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2009-01-28 0:22 UTC (permalink / raw)
To: Arjan van de Ven; +Cc: linux-ide, netdev
On Tuesday 27 January 2009, Arjan van de Ven wrote:
> From e89d6840ad685a3c61f72367d4ac5bfed69ead0c Mon Sep 17 00:00:00 2001
> From: Arjan van de Ven <arjan@linux.intel.com>
> Date: Mon, 26 Jan 2009 18:58:11 -0800
> Subject: [PATCH] ide/net: flip the order of SATA and network init
>
> this patch flips the order in which sata and network drivers are initialized.
it seems to affect much more than that, please see below
> SATA probing takes quite a bit of time, and with the asynchronous infrastructure
> other drivers that run after it can execute in parallel. Network drivers do tend
> to take some real time talking to the hardware, so running these later is
> a good thing (the sata probe then runs concurrent)
>
> This saves about 15% of my kernels boot time.
>
> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
> ---
> drivers/Makefile | 5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/Makefile b/drivers/Makefile
> index c1bf417..2618a61 100644
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -36,13 +36,14 @@ obj-$(CONFIG_FB_INTEL) += video/intelfb/
>
> obj-y += serial/
> obj-$(CONFIG_PARPORT) += parport/
> -obj-y += base/ block/ misc/ mfd/ net/ media/
> +obj-y += base/ block/ misc/ mfd/ media/
> obj-$(CONFIG_NUBUS) += nubus/
> -obj-$(CONFIG_ATM) += atm/
> obj-y += macintosh/
> obj-$(CONFIG_IDE) += ide/
> obj-$(CONFIG_SCSI) += scsi/
scsi, ide, macintosh and nubus will be now init-ed after network.
No problem for ide but I'm not really sure about scsi...
> obj-$(CONFIG_ATA) += ata/
> +obj-y += net/
> +obj-$(CONFIG_ATM) += atm/
> obj-$(CONFIG_FUSION) += message/
> obj-$(CONFIG_FIREWIRE) += firewire/
> obj-y += ieee1394/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-01-28 1:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 22:19 [PATCH] ide/net: flip the order of SATA and network init Arjan van de Ven
2009-01-27 22:26 ` David Miller
2009-01-27 23:35 ` Jeff Garzik
2009-01-28 0:48 ` Arjan van de Ven
2009-01-28 1:23 ` David Miller
2009-01-28 1:59 ` Jeff Garzik
2009-01-28 0:22 ` Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).