Re: Linux 2.2.18 release notes

From: Igmar Palsenberg (maillist@chello.nl)
Date: Tue Dec 12 2000 - 20:24:58 EST


> - metrics -- L1 cacheline size is the important one: you align array
> elements to this size when you want a per-cpu array, so that multiple
> CPUs do not share a cacheline for accessing their "own" structure.
> Proper alignment avoids "cacheline ping-pong", as it's called,
> whenever two CPUs need to access "their" element of the same array at
> the same time.

Anyone can give me some pointers on how this is done runtime ? (name of
the .c file is fine).

I'm still looking at the basic stuff, but haven't bumped into this one
yet...

        Igmar

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:25 EST