The expansion of the initramfs is completely independant of other
boot activities. The original data is already present at boot and the
filesystem is not required until we are ready to start init. It is
therefore reasonable to populate the rootfs asynchronously. Move this
processing to an async call.
/*
+ * We need to ensure that the filesystem is ready by this point, wait for
+ * async_populate_rootfs to complete.
+ */
+ async_synchronize_full_domain(&populate_rootfs_dom ain);
+
+ /*
* check if there is an early userspace init. If yes, let it do all
* the work
*/
--
1.6.3.3
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
12-09-2009, 03:41 PM
Tim Gardner
UBUNTU: SAUCE: Make populate_rootfs asynchronous
Andy Whitcroft wrote:
> From: Surbhi Palande <surbhi.palande@canonical.com>
>
> The expansion of the initramfs is completely independant of other
> boot activities. The original data is already present at boot and the
> filesystem is not required until we are ready to start init. It is
> therefore reasonable to populate the rootfs asynchronously. Move this
> processing to an async call.
>
> Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
Perhaps the commit log message should also describe _why_ we're applying
this patch, e.g., it improves boot performance on a wide range of
multi-core CPU's without adversely impacting single core CPUs (or
something like that). You know we'll get that question as soon as we try
upstreaming it.
rtg
--
Tim Gardner tim.gardner@canonical.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
12-09-2009, 03:44 PM
Scott James Remnant
UBUNTU: SAUCE: Make populate_rootfs asynchronous
On Wed, 2009-12-09 at 09:41 -0700, Tim Gardner wrote:
> Perhaps the commit log message should also describe _why_ we're applying
> this patch, e.g., it improves boot performance on a wide range of
> multi-core CPU's without adversely impacting single core CPUs (or
> something like that). You know we'll get that question as soon as we try
> upstreaming it.
>
It improves boot performance of single core too, no? (e.g. Atom N270 in
those Mini 10vs)
Scott
--
Scott James Remnant
scott@ubuntu.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
12-09-2009, 03:55 PM
Tim Gardner
UBUNTU: SAUCE: Make populate_rootfs asynchronous
Scott James Remnant wrote:
> On Wed, 2009-12-09 at 09:41 -0700, Tim Gardner wrote:
>
>> Perhaps the commit log message should also describe _why_ we're applying
>> this patch, e.g., it improves boot performance on a wide range of
>> multi-core CPU's without adversely impacting single core CPUs (or
>> something like that). You know we'll get that question as soon as we try
>> upstreaming it.
>>
> It improves boot performance of single core too, no? (e.g. Atom N270 in
> those Mini 10vs)
>
> Scott
Ok, non-hyperthreaded single core CPUs.
--
Tim Gardner tim.gardner@canonical.com
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
12-09-2009, 04:18 PM
Andy Whitcroft
UBUNTU: SAUCE: Make populate_rootfs asynchronous
On Wed, Dec 09, 2009 at 09:55:58AM -0700, Tim Gardner wrote:
> Scott James Remnant wrote:
> > On Wed, 2009-12-09 at 09:41 -0700, Tim Gardner wrote:
> >
> >> Perhaps the commit log message should also describe _why_ we're applying
> >> this patch, e.g., it improves boot performance on a wide range of
> >> multi-core CPU's without adversely impacting single core CPUs (or
> >> something like that). You know we'll get that question as soon as we try
> >> upstreaming it.
> >>
> > It improves boot performance of single core too, no? (e.g. Atom N270 in
> > those Mini 10vs)
> >
> > Scott
>
> Ok, non-hyperthreaded single core CPUs.
Generally even those as long as its not started early. The cpu
consumption overlaps with the port probes to good effect. Not as good
as on the netbooks but noticable.
-apw
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team