Re: [RFC 00/15] x86_64: Optimize percpu accesses

From: H. Peter Anvin
Date: Thu Jul 10 2008 - 12:32:19 EST


Mike Travis wrote:
Eric W. Biederman wrote:
...
Another alternative that almost fares better then a segment with
a base of zero is a base of -32K or so. Only trouble that would get us
manually managing the per cpu area size again.

One thing to remember is the eventual goal is implementing the cpu_alloc
functions which I think we've agreed has to be "growable". This means that
the addresses will need to be virtual to allow the same offsets for all cpus.
The patchset I have uses 2Mb pages. This "little" twist might figure into the
implementation issues that are being discussed.


No, since the *addresses* can be arbitrary. The current issue is about *offsets.*

-hpa

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