Re: [PATCH/RFC 1/2] init/initramfs.c: allow asynchronous unpacking

From: Linus Torvalds
Date: Wed Feb 24 2021 - 12:18:21 EST


On Wed, Feb 24, 2021 at 6:29 AM Rasmus Villemoes
<linux@xxxxxxxxxxxxxxxxxx> wrote:
>
> So add an initramfs_async= kernel parameter, allowing the main init
> process to proceed to handling device_initcall()s without waiting for
> populate_rootfs() to finish.

Hmm. This is why we have the whole "async_schedule()" thing (mostly
used for things like disk spin-up etc). Is there some reason you
didn't use that infrastructure?

Linus