Re: hugetlbfs for ppc440 - kernel BUG

2008-10-22 Thread David Gibson
On Tue, Oct 21, 2008 at 03:50:30PM -0700, Satya wrote: On Tue, Oct 21, 2008 at 3:46 PM, Satya [EMAIL PROTECTED] wrote: Ben, Look here: http://www-unix.mcs.anl.gov/zeptoos/hugepages/ thanks, ./satya On Tue, Oct 21, 2008 at 1:47 PM, Benjamin Herrenschmidt [EMAIL PROTECTED]

Re: hugetlbfs for ppc440 - kernel BUG

2008-10-21 Thread Benjamin Herrenschmidt
On Tue, 2007-07-10 at 13:38 -0500, Satya wrote: hello, I am trying to implement hugetlbfs on the IBM Bluegene/L IO node (ppc440) and I have a big problem as well as a few questions to ask the group. I patched a 2.6.21.6 linux kernel (manually) with Edi Shmueli's hugetlbfs implementation

Re: hugetlbfs for ppc440 - kernel BUG

2008-10-21 Thread Benjamin Herrenschmidt
On Tue, 2008-10-21 at 15:46 -0700, Satya wrote: Ben, Look here: http://www-unix.mcs.anl.gov/zeptoos/hugepages/ Thanks. What is the status ? Do they work fine ? Are they going to be re-submitted for inclusion ? Cheers, Ben. thanks, ./satya On Tue, Oct 21, 2008 at 1:47 PM, Benjamin

Re: hugetlbfs for ppc440 - kernel BUG

2008-10-21 Thread Satya
Ben, Look here: http://www-unix.mcs.anl.gov/zeptoos/hugepages/ thanks, ./satya On Tue, Oct 21, 2008 at 1:47 PM, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Tue, 2007-07-10 at 13:38 -0500, Satya wrote: hello, I am trying to implement hugetlbfs on the IBM Bluegene/L IO node

Re: hugetlbfs for ppc440 - kernel BUG

2008-10-21 Thread Satya
On Tue, Oct 21, 2008 at 3:46 PM, Satya [EMAIL PROTECTED] wrote: Ben, Look here: http://www-unix.mcs.anl.gov/zeptoos/hugepages/ thanks, ./satya On Tue, Oct 21, 2008 at 1:47 PM, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Tue, 2007-07-10 at 13:38 -0500, Satya wrote: hello, I

Re: hugetlbfs for ppc440 - kernel BUG

2008-10-21 Thread David Gibson
On Wed, Oct 22, 2008 at 09:53:13AM +1100, Benjamin Herrenschmidt wrote: On Tue, 2008-10-21 at 15:46 -0700, Satya wrote: Ben, Look here: http://www-unix.mcs.anl.gov/zeptoos/hugepages/ Thanks. What is the status ? Do they work fine ? Are they going to be re-submitted for inclusion ? Hrm.

Re: hugetlbfs for ppc440 - kernel BUG -- follow up

2007-07-17 Thread Satya
hello, Upon investigating the below issue further, I found that pte_alloc_map() calls kmap_atomic. The allocated pte page must be unmapped before invoking any function that might_sleep. In this case clear_huge_page() is being called without invoking pte_unmap(). The 'normal' counterpart of

Re: hugetlbfs for ppc440 - kernel BUG -- follow up

2007-07-17 Thread Benjamin Herrenschmidt
On Tue, 2007-07-17 at 16:07 -0500, Satya wrote: hello, Upon investigating the below issue further, I found that pte_alloc_map() calls kmap_atomic. The allocated pte page must be unmapped before invoking any function that might_sleep. In this case clear_huge_page() is being called without

Re: hugetlbfs for ppc440 - kernel BUG -- follow up

2007-07-17 Thread Satya
On 7/17/07, Benjamin Herrenschmidt [EMAIL PROTECTED] wrote: On Tue, 2007-07-17 at 16:07 -0500, Satya wrote: hello, Upon investigating the below issue further, I found that pte_alloc_map() calls kmap_atomic. The allocated pte page must be unmapped before invoking any function that

Re: hugetlbfs for ppc440 - kernel BUG -- follow up

2007-07-17 Thread Benjamin Herrenschmidt
On Tue, 2007-07-17 at 21:18 -0500, Satya wrote: the calling sequence is : __handle_mm_fault - hugetlb_fault - huge_pte_alloc() - pte_alloc_map() where - stands for 'calls'. hugetlb_fault() calls hugetlb_no_page() after returning from huge_pte_alloc(). [huge_pte_alloc() is an arch

hugetlbfs for ppc440 - kernel BUG

2007-07-10 Thread Satya
hello, I am trying to implement hugetlbfs on the IBM Bluegene/L IO node (ppc440) and I have a big problem as well as a few questions to ask the group. I patched a 2.6.21.6 linux kernel (manually) with Edi Shmueli's hugetlbfs implementation (found here: