[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module
From: |
Robert Millan |
Subject: |
Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)) |
Date: |
Tue, 23 Jun 2009 00:31:44 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Mon, Jun 22, 2009 at 05:45:54PM -0400, Pavel Roskin wrote:
> On Mon, 2009-06-22 at 23:22 +0200, Robert Millan wrote:
> > On Mon, Jun 22, 2009 at 04:51:43PM -0400, Pavel Roskin wrote:
> > >
> > > You may want to use 4 byte alignment too. It's a good thing to align
> > > 32-bit addresses in the ELF headers.
> >
> > Ok, but we aren't doing it on i386-pc, and this never caused trouble. The
> > ELF headers in our modules are only loaded by GRUB itself, and if our
> > loader can cope with unaligned addresses, why bother trying to align
> > them?
>
> Maybe to speed up things. But I don't really care.
Well, if there's interest in doing this, I would suggest finding a
platform-independant way. For example the modinfo structure could remain
unaligned, with padding in-between its ELF modules or so.
If there's a speed improvement I'm fine with it. But I can sleep at night
without alignment :-)
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
- [PATCH] i386-qemu port, Robert Millan, 2009/06/21
- does module area require alignment? (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/21
- Re: does module area require alignment? (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/21
- Re: does module area require alignment? (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/21
- [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Robert Millan, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Pavel Roskin, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Robert Millan, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Pavel Roskin, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Robert Millan, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)), Pavel Roskin, 2009/06/22
- Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port)),
Robert Millan <=
- Re: does module area require alignment? (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/22
- Re: does module area require alignment? (Re: [PATCH] i386-qemu port), Vladimir 'phcoder' Serbinenko, 2009/06/22
- Re: does module area require alignment? (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/22
[PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/21
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/21
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/21
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/21
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/22
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Pavel Roskin, 2009/06/22
- Re: [PATCH] move grub_stop() (Re: [PATCH] i386-qemu port), Robert Millan, 2009/06/22