Re: [Libhugetlbfs-devel] Buglet in 16G page handling

Jon Tollefson
2008-09-03T14:11:15Z

Benjamin Herrenschmidt wrote:
> On Tue, 2008-09-02 at 17:16 -0500, Jon Tollefson wrote:
>
>> Benjamin Herrenschmidt wrote:
>>
>>>> Actually, Jon has been hitting an occasional pagetable lock related
>>>> problem. The last theory was that it might be some sort of race but it's
>>>> vaguely possible that this is the issue. Jon?
>>>>
>>>>
>>> All hugetlbfs ops should be covered by the big PTL except walking... Can
>>> we have more info about the problem ?
>>>
>>> Cheers,
>>> Ben.
>>>
>>>
>> I hit this when running the complete libhugetlbfs test suite (make
>> check) with base page at 4K and default huge page size at 16G. It is on
>> the last test (shm-getraw) when it hits it. Just running that test
>> alone has not caused it for me - only when I have run all the tests and
>> it gets to this one. Also it doesn't happen every time. I have tried
>> to reproduce as well with a 64K base page but haven't seen it happen there.
>>
>
> I don't see anything huge pages related in the backtraces which is
> interesting ...
>
> Can you get us access to a machine with enough RAM to test the 16G
> pages ?
>
> Ben.
>
>
You can use the machine I have been using. I'll send you a note with
the details on it after I test David's patch today.

Jon

<snip>