Re: 2.4: why is NR_GFPINDEX so large?

Andrea Arcangeli
2000-06-23T18:02:21Z

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;

Andrea