On 03/25/2012 01:54 AM, Borislav Petkov wrote: > > One other downside for this approach would be the need to have > initrd/initramfs support always compiled into the kernel in order to do > all those things but, hey, distro kernels already have that so we're > probably stuck with it anyway. > In theory we could make the early stuff independent of the initramfs code in the kernel -- just like we always build in an initramfs. Not that it matters much, at this point the no-initramfs configurations are mostly theoretical. I was able to shave a bit more off the code... optimizing for size can be fun sometimes. The code is now 442 bytes on x86-64 and 413 on i386 when compiled with -O2 -fomit-frame-pointer; with -Os -fomit-frame-pointer it is 372/410... all of that without any library calls or relocations of any kind (which means it should be safe to call from the prepaging environment.) -hpa