Re: 2.4: why is NR_GFPINDEX so large?

Jamie Lokier
2000-06-23T17:52:24Z

Andrea Arcangeli wrote:
> On Thu, 22 Jun 2000, Jamie Lokier wrote:
>
> >Does ____cacheline_aligned_in_smp guarantee the _size_ of the object is
> >aligned, or merely its address?
>
> Only its address. It uses the attribute aligned of gcc.

Quite. So __cacheline_aligned_in_smp is not sufficient to ensure the
array doesn't share cache lines with another variable.

-- Jamie