Eric W. Biederman wrote:Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
Which means that my idea of using the technique we use on x86_32 will notwork.
No, the compiler memory model we use guarantees that everything will be within
2G of each other. The linker will spew loudly if that's not the case.
The per cpu area is at least theoretically dynamically allocated. And we
really want to put it in cpu local memory. Which means on any reasonable
NUMA machine the per cpu areas should be all over the box.
So there is no guarantee that with an arbitrary 64bit address in %gs of anything.
That doesn't matter in the slightest.