Re: 2.4: why is NR_GFPINDEX so large?

Andrea Arcangeli
2000-06-23T18:03:56Z

On Fri, 23 Jun 2000, Andrea Arcangeli wrote:

>On Fri, 23 Jun 2000, Jamie Lokier wrote:
>
>>Quite. So __cacheline_aligned_in_smp is not sufficient to ensure the
>>array doesn't share cache lines with another variable.
>
>Of course, it does only half of the work, you need it here:
>
> gfpmask_zone_t node_gfpmask_zone[NR_GFPINDEX] ____cacheline_aligned_in_smp;

btw, I'm not suggesting to add the above (I only wanted to show its
usage).

Andrea