Re: [LTP] clone tests fails

Mike Frysinger
2010-01-06T05:24:55Z

[-- Attachment #1.1: Type: Text/Plain, Size: 692 bytes --]

On Tuesday 05 January 2010 22:26:44 Serge E. Hallyn wrote:
> Quoting Jiri Palecek (jpalecek@web.de):
> > Michal, I suspect the failures you see are somehow related to
> > alignment (that your architecture doesn't like odd addresses). Is
> > that right? Under x86, the address gets aligned (so some of the
> > space is unused).
> >
> > Perhaps both of these behaviors should be tested by LTP?
>
> Gah, yes, Nathan had mentioned arches where this matters (including
> some power?). Nathan, did you have a generic fix for this in
> userspace? Should always be safe to do
> (stack + stack_size - 1) & ~0xf
> ?

(sizeof(long double)-1) would probably be better than 0xf
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 390 bytes --]

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]