On Fri, 2008-07-11 at 15:21 +0200, Christian Franke wrote:

> Very nice optimization idea!
> 
> The practical advantage is probably limited by the fact that kernel.img 
> and most of the modules typically included in a i386-pc core.img are not 
> affected.
> 
> I attached a diff of "size *.mod" outputs for the test mentioned in my 
> last mail. '-' original code, '+' grub_swap_*() replaced by dummies. 
> Large savings potential is in afs.mod, hfs*.mod, and xfs.mod.
...
> -   4980           40      16    5036    13ac xfs.mod
> +   2924           40      16    2980     ba4 xfs.mod

It is a big deal for xfs users.  Even more so for gpt+raid+lvm+xfs
users, who are against the wall :-)

-- 
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to