Messages in this thread | | | Date | Wed, 09 Jul 2008 13:35:58 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| |
Eric W. Biederman wrote: > How does gcc know to use %gs instead of the usual %fs for accessing > the stack protector variable? My older gcc-4.1.x on ubuntu always uses %fs. >
-mcmodel=kernel
> 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.
J
| |