Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-08 Thread David Gibson
On Thu, Nov 09, 2006 at 11:36:58AM +1100, David Gibson wrote: > On Thu, Nov 09, 2006 at 10:46:30AM +1100, David Gibson wrote: > > On Wed, Nov 08, 2006 at 09:41:17AM -0600, Adam Litke wrote: > > > On Wed, 2006-11-08 at 11:29 +1100, David Gibson wrote: > > > > On Tue, Nov 07, 2006 at 04:52:33PM -0600

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-08 Thread David Gibson
On Thu, Nov 09, 2006 at 10:46:30AM +1100, David Gibson wrote: > On Wed, Nov 08, 2006 at 09:41:17AM -0600, Adam Litke wrote: > > On Wed, 2006-11-08 at 11:29 +1100, David Gibson wrote: > > > On Tue, Nov 07, 2006 at 04:52:33PM -0600, Adam Litke wrote: > > > > Hey David. I am a bit confused about the

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-08 Thread David Gibson
On Wed, Nov 08, 2006 at 09:41:17AM -0600, Adam Litke wrote: > On Wed, 2006-11-08 at 11:29 +1100, David Gibson wrote: > > On Tue, Nov 07, 2006 at 04:52:33PM -0600, Adam Litke wrote: > > > Hey David. I am a bit confused about the truncate_above_4G test case. > > > On ppc64 (kernel 2.6.19-rc4-git12 -

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-08 Thread Adam Litke
On Wed, 2006-11-08 at 11:29 +1100, David Gibson wrote: > On Tue, Nov 07, 2006 at 04:52:33PM -0600, Adam Litke wrote: > > Hey David. I am a bit confused about the truncate_above_4G test case. > > On ppc64 (kernel 2.6.19-rc4-git12 -- which should have the fix), the > > following mmap call gets -EINV

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-07 Thread David Gibson
Apropos some of the confusion here... Update test rationale comments This patch adds some extra details to comments in a number of testcases, giving useful information about the rationale and origins of the test. In particular it adds a prominent warning on testcases which include "magic" offset

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-07 Thread David Gibson
On Tue, Nov 07, 2006 at 03:00:56PM -0800, Chen, Kenneth W wrote: > Adam Litke wrote on Tuesday, November 07, 2006 2:53 PM > > Hey David. I am a bit confused about the truncate_above_4G test case. > > On ppc64 (kernel 2.6.19-rc4-git12 -- which should have the fix), the > > following mmap call gets

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-07 Thread David Gibson
On Tue, Nov 07, 2006 at 04:52:33PM -0600, Adam Litke wrote: > Hey David. I am a bit confused about the truncate_above_4G test case. > On ppc64 (kernel 2.6.19-rc4-git12 -- which should have the fix), the > following mmap call gets -EINVAL: > p = mmap64(q + 2*hpage_size, hpage_size, PROT_READ|

Re: [Libhugetlbfs-devel] truncate_above_4G test

2006-11-07 Thread Chen, Kenneth W
Adam Litke wrote on Tuesday, November 07, 2006 2:53 PM > Hey David. I am a bit confused about the truncate_above_4G test case. > On ppc64 (kernel 2.6.19-rc4-git12 -- which should have the fix), the > following mmap call gets -EINVAL: > p = mmap64(q + 2*hpage_size, hpage_size, PROT_READ|PROT_

[Libhugetlbfs-devel] truncate_above_4G test

2006-11-07 Thread Adam Litke
Hey David. I am a bit confused about the truncate_above_4G test case. On ppc64 (kernel 2.6.19-rc4-git12 -- which should have the fix), the following mmap call gets -EINVAL: p = mmap64(q + 2*hpage_size, hpage_size, PROT_READ|PROT_WRITE, MAP_FIXED|MAP_PRIVATE, fd, buggy_offs