From: H. Peter Anvin on 9 Jun 2010 14:50 On 06/09/2010 11:14 AM, Sukadev Bhattiprolu wrote: > | > | Even for x86, it's an easier API. Callers would be specifying > | two numbers they already have: the argument and return value > | for malloc. Currently the numbers must be added together, > | destroying information, except on hppa (must not add size) > | and ia64 (must use what I'm proposing already). > > I agree its easier and would avoid #ifdefs in the applications. > > Peter, Arnd, Roland - do you have any concerns with requiring all > architectures to specify the stack to eclone() as [base, offset] > Makes sense to me. There might be advantages to be able to track the size of the "stack allocation" even for other architectures, too. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Roland McGrath on 9 Jun 2010 18:40 > Peter, Arnd, Roland - do you have any concerns with requiring all > architectures to specify the stack to eclone() as [base, offset] I can't see why that would be a problem. It's consistent with the sigaltstack interface we already have. Thanks, Roland -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Arnd Bergmann on 10 Jun 2010 05:20 On Wednesday 09 June 2010, Sukadev Bhattiprolu wrote: > Albert and Randy point out that this would require #ifdefs in the > application code that intends to be portable across say IA64 and x86. > > Can we instead have all architectures specify [base, size] ? No objections from me on that. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
First
|
Prev
|
Pages: 1 2 3 Prev: fat: convert to unlocked_ioctl Next: [PATCH v3 0/8] pvclock fixes - v3 |