Christoph Lameter <cl@xxxxxxxxxxxxxxxxxxxx> writes:
Note also that the 32 bit offset size limits the offset that can be added to the
segment register. You either need to place the per cpu area either in the last
2G of the address space or in the first 2G. The zero based approach removes that
limitation.
Good point. Which means that fundamentally we need to come up with a special
linker segment or some other way to guarantee that the offsets we use for per
cpu variables is within 2G of the segment register.
Which means that my idea of using the technique we use on x86_32 will not work.