grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v9 02/11] Unify GUID types


From: Ard Biesheuvel
Subject: Re: [PATCH v9 02/11] Unify GUID types
Date: Wed, 30 Aug 2023 16:23:36 +0200

On Wed, 30 Aug 2023 at 16:18, Daniel Kiper <dkiper@net-space.pl> wrote:
>
> On Fri, Aug 25, 2023 at 05:50:58AM -0700, Oliver Steffen wrote:
> > Quoting Vladimir 'phcoder' Serbinenko (2023-08-15 18:14:11)
>
> [...]
>
> > I am not sure what the best way forward is now, but we at least have the
> > patches from Vladimir (thanks!).
> >
> > Pedro, Adrian, could you - if you get a chance - try them with a 4 byte
> > alignment too?
>
> Yes, that would be perfect. If Itanium works then I suggest to align
> GUIDs to 4 bytes. This alignment is used in the kernel for more than
> 4 years and it looks nobody complains...
>
> Pedro, Adrian, could you change GUIDs alignment in Vladimir's patches to
> 4 and test them on Itanium?
>

Note that itanium is a 64-bit architecture, whereas the potential
alignment/padding issue I raised only occurs on 32-bit systems.

So another option is to align GUIDs to __alignof__(void*)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]