RE: [patch]fastboot: remove duplicate unpack_to_rootfs()

From: Li, Shaohua
Date: Wed Aug 13 2008 - 05:26:25 EST




>-----Original Message-----
>From: Ingo Molnar [mailto:mingo@xxxxxxx]
>Sent: Wednesday, August 13, 2008 3:45 PM
>To: Li, Shaohua
>Cc: lkml; Andrew Morton; Arjan van de Ven
>Subject: Re: [patch]fastboot: remove duplicate unpack_to_rootfs()
>
>
>* Shaohua Li <shaohua.li@xxxxxxxxx> wrote:
>
>> we check if initrd is initramfs first and then do real unpack. The
>> check isn't required, we can directly do unpack. If initrd isn't
>> initramfs, we can remove garbage. In my laptop, this saves 0.1s boot
>> time. This penalizes non-initramfs case, but now initramfs is mostly
>> widely used.
Updated patch. Sorry for the attachment, my email client is broken.

Thanks,
Shaohua

Attachment: initramfs.patch
Description: initramfs.patch