Re: broken local_t on i386

Christoph Lameter
2006-06-12T19:00:11Z

On Mon, 12 Jun 2006, Andi Kleen wrote:

> Possible, but is it worth reinventing the linker?

How would that work?

IMHO The linker cannot help with virtual to physical address translations.
A linker that will link per processor would be amazing. What happens if
the process is rescheduled? We dynamically relink to the new processor?

I thought you had some funky segment registers on i386 and x86_64. Cant
they be switched on context switch? If an inc/dec could work relative to
those then you would not need a virtual mapping.