Re: [patch 2/2] x86: lds - Use THREAD_SIZE instead of numeric constant

From: H. Peter Anvin
Date: Sun Feb 17 2008 - 14:49:39 EST


Cyrill Gorcunov wrote:

Yes Sam, I've read Peter and Ingo comments on this patch
(actually I sent the same patch maybe week ago and Peter
and Ingo told me that we use %fs,%gs now for stack) but
as I pointed in comment - this alignment is still using
by Xen and lguest and even x86. So - it would be really
usefull for me if someone give me the last point - YES we
use such an alignment for stack, NO - we don't use it at all.
I was trying to hadle this myself - but I'm not a specialist
in this area you know ;)


It bugs me quite a bit that paravirt clients contain this hack open-coded, but that's not *your* fault. There probably should be a macro to encapsulate the stack pointer location for a specific thread.

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