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

From: Ingo Molnar
Date: Wed Jul 09 2008 - 17:04:29 EST



* Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:

> Jeremy Fitzhardinge <jeremy@xxxxxxxx> writes:
>
> >> Or we could do something completely evil. And use the other segment
> >> register for the stack canary.
> >>
> >
> > That would still require gcc changes, so it doesn't help much.
>
> We could use %fs for the per cpu variables. Then we could set %gs to
> whatever we wanted to sync up with gcc

one problem is, there's no SWAPFS instruction.

Ingo
--
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/