Re: [PATCH] skip initramfs check

From: Andrew Morton
Date: Thu Nov 17 2005 - 17:56:21 EST


Marcelo Tosatti <marcelo.tosatti@xxxxxxxxxxxx> wrote:
>
> The initramfs check at populate_rootfs() can consume significant time
> (several seconds) on slow/embedded platforms, since it has to decompress
> the image.
>
> Add an option to skip it under CONFIG_EMBEDDED.
>
> Is there a nicer way to achieve the same result?

I'd have thought that a __setup option would be preferable? Remove an
ifdef, more flexible, and it's all __init code anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/