Re: [Libhugetlbfs-devel] [PATCH] Add a test that mixes permissions on shared memory segments

2009-05-18 Thread Eric B Munson
On Mon, 18 May 2009, Mel Gorman wrote: > Due to some confustion between VM_SHARED and VM_MAYSHARE in hugetlbfs, > it is possible for hugepage reservations to get leaked. By using > VM_SHARED, hugetlbfs will treat a shmem segment mapped read-only as if > it was MAP_PRIVATE. > > This patch adds a t

[Libhugetlbfs-devel] [PATCH] Add a test that mixes permissions on shared memory segments

2009-05-18 Thread Mel Gorman
Due to some confustion between VM_SHARED and VM_MAYSHARE in hugetlbfs, it is possible for hugepage reservations to get leaked. By using VM_SHARED, hugetlbfs will treat a shmem segment mapped read-only as if it was MAP_PRIVATE. This patch adds a test that checks if the kernel is vunerable to this b

Re: [Libhugetlbfs-devel] [PATCH] Add note to explain to prefer permanent swap space when using dynamic pools.

2009-05-18 Thread Eric B Munson
On Fri, 15 May 2009, Eric B Munson wrote: > Signed-off-by: Eric B Munson Applied, thanks. Eric signature.asc Description: Digital signature -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simpl

Re: [Libhugetlbfs-devel] [PATCH] Update the fail message for readahead, madvise, and fadvise tests

2009-05-18 Thread Eric B Munson
On Fri, 15 May 2009, Eric B Munson wrote: > This patch changes the failure message given by the readahead, fadvise, and > madvise tests if the kernel is older than 2.6.30 to make it clear that the > test failure is assumed. Until the fix for these tests is in kernel they will > be skipped because