Re: [Libhugetlbfs-devel] [PATCH] stack remapping

2008-01-31 Thread Andrew Hastings
Nishanth Aravamudan wrote: > On 30.11.2007 [16:01:18 -0800], Nishanth Aravamudan wrote: >> On 30.11.2007 [17:30:06 -0600], Andrew Hastings wrote: >>> Nishanth Aravamudan wrote: On 27.11.2007 [16:51:26 -0600], Andrew Hastings wrote: > +3. Set HUGETLB_STACK= or HUGETLB_STACK=yes > + Thi

Re: [Libhugetlbfs-devel] [PATCH] stack remapping

2008-01-31 Thread Nishanth Aravamudan
On 30.11.2007 [16:01:18 -0800], Nishanth Aravamudan wrote: > On 30.11.2007 [17:30:06 -0600], Andrew Hastings wrote: > > Nishanth Aravamudan wrote: > >> On 27.11.2007 [16:51:26 -0600], Andrew Hastings wrote: > >>> +3. Set HUGETLB_STACK= or HUGETLB_STACK=yes > >>> + This enables the hugepage stack f

Re: [Libhugetlbfs-devel] [PATCH] Add exec shield notation to LDFLAGS

2008-01-31 Thread Adam Litke
On Wed, 2008-01-30 at 22:11 -0800, Nishanth Aravamudan wrote: > On 16.01.2008 [11:10:22 +1100], David Gibson wrote: > > On Tue, Jan 15, 2008 at 10:22:19AM -0600, Adam Litke wrote: > > > Newer versions of GNU ld have an option to explicitly state that a > > > program does not require a stack with e

Re: [Libhugetlbfs-devel] [PATCH] remap_segments: adjust brk value to end of data segment (v. 2, revised)

2008-01-31 Thread Andrew Hastings
Nishanth Aravamudan wrote: > On 17.12.2007 [15:03:13 +1100], David Gibson wrote: >> I don't think an explicit brk() is the right way to do this. Instead >> we should change the linker script so that the BSS is padded out to >> the end of the slice - then the kernel's rules should put the initial >