[ofa-general] Re: [PATCH 08 of 11] anon-vma-rwsem

Pekka Enberg penberg at cs.helsinki.fi
Wed May 7 22:30:20 PDT 2008


On Thu, May 8, 2008 at 8:27 AM, Pekka Enberg <penberg at cs.helsinki.fi> wrote:
> You might want to read carefully what Linus wrote:
>
>  > The one that already has a 4 byte padding thing on x86-64 just after the
>  > spinlock? And that on 32-bit x86 (with less than 256 CPU's) would have two
>  > bytes of padding if we didn't just make the spinlock type unconditionally
>  > 32 bits rather than the 16 bits we actually _use_?
>
>  So you need to add the flag _after_ ->lock and _before_ ->head....

Oh should have taken my morning coffee first, before ->lock works
obviously as well.



More information about the general mailing list