Re: [Libhugetlbfs-devel] [PATCH] prevent segfault on 32bit PPC apps with large stack v2

2007-10-15 Thread Adam Litke
On Mon, 2007-10-15 at 10:53 +1000, David Gibson wrote: > On Fri, Oct 12, 2007 at 02:30:16PM -0500, Steve Fox wrote: > > On Fri, 2007-10-12 at 15:26 +1000, David Gibson wrote: > > > > > Actually, it doesn't necessarily need using named hugepage files: we > > > could fork() after obtaining the fd, b

Re: [Libhugetlbfs-devel] [PATCH] prevent segfault on 32bit PPC apps with large stack v2

2007-10-15 Thread David Gibson
On Mon, Oct 15, 2007 at 08:36:13AM -0500, Adam Litke wrote: > On Mon, 2007-10-15 at 10:53 +1000, David Gibson wrote: [snip] > > > +#if defined (__powerpc__) && !defined (__LP64__) > > > +static int arch_prepare_segment(struct seg_info *htlb_seg_info) > > > > I don't see that there's any point doin