Skip to content
Commit 3c470428 authored by Surbhi Palande's avatar Surbhi Palande Committed by Stefan Bader
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>

(cherry picked from commit 29f1e2fd

 for backporting)
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
parent 74a813c1
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