Skip to content
Commit 29f1e2fd authored by Surbhi Palande's avatar Surbhi Palande Committed by Andy Whitcroft
Browse files

UBUNTU: SAUCE: Make populate_rootfs asynchronous



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.

This reduces kernel initialisation time (the time from bootloader to
starting userspace) by several 10ths of a second on a selection of test
hardware particularly SMP systems, although UP system also benefit.

Signed-off-by: default avatarSurbhi Palande <surbhi.palande@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 148aa340
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment