[Libhugetlbfs-devel] [PATCH] run_tests.sh: be smarter about using the overcommit sysctl

2008-01-30 Thread Nishanth Aravamudan
run_tests.sh: be smarter about using the overcommit sysctl While the counters test has smarts to detect the presence of the overcommit sysctl, run_tests.sh does not and spits out bash errors on older kernels. Just skip the setting/restoring of the sysctl if the kernel doesn't support it. Signed-o

Re: [Libhugetlbfs-devel] [PATCH] elf64ppc.xB flexible BSS alignment

2008-01-30 Thread Nishanth Aravamudan
On 15.01.2008 [10:11:03 -0600], Adam Litke wrote: > As discussed in an earlier thread, glibc makes certain assumptions about > the layout of the text, data, and bss segments of shared objects and > executables. One of those assumptions is that all segments of an > objects will be mapped consecutiv

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

2008-01-30 Thread Nishanth Aravamudan
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 execute permissions. In this > > case, additional security measures can

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

2008-01-30 Thread Nishanth Aravamudan
On 17.12.2007 [15:03:13 +1100], David Gibson wrote: > On Fri, Dec 14, 2007 at 01:33:02PM -0600, Andrew Hastings wrote: > > aglitke wrote: > > > On Fri, 2007-12-07 at 15:43 -0600, Andrew Hastings wrote: > > >> To fix this, remap_segments adjusts the brk value up to the end of the > > >> BSS's slice