Re: [PATCH] properly reserve in bootmem the lmb reserved regions that cross numa nodes

2008-09-30 Thread Adam Litke
rt_pfn) > + return &early_node_map[i]; > + } > + return NULL; > +} Since this is using the early_node_map[], should we mark the function __mminit? -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [Libhugetlbfs-devel] libbugetlbfs: Test case for powerpc huge_ptep_set_wrprotect() bug

2008-07-07 Thread Adam Litke
Signed-off-by: David Gibson <[EMAIL PROTECTED]> Good test David, thanks... Acked-by: Adam Litke <[EMAIL PROTECTED]> -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [RFC PATCH 2/2] Update defconfigs for CONFIG_HUGETLB

2008-06-13 Thread Adam Litke
On Thu, 2008-06-12 at 22:36 +0300, Adrian Bunk wrote: > On Thu, Jun 12, 2008 at 02:55:45PM -0400, Adam Litke wrote: > > Update all defconfigs that specify a default configuration for hugetlbfs. > > There is now only one option: CONFIG_HUGETLB. Replace the old > > CO

Re: [RFC PATCH 0/2] Merge HUGETLB_PAGE and HUGETLBFS Kconfig options

2008-06-13 Thread Adam Litke
so I felt it prudent to include the mips list as an FYI. -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

[RFC PATCH 1/2] Merge options into CONFIG_HUGETLB

2008-06-12 Thread Adam Litke
would be very helpful. Thanks. Signed-off-by: Adam Litke <[EMAIL PROTECTED]> -- Documentation/vm/hugetlbpage.txt |6 ++ arch/arm/mm/consistent.c |2 +- arch/avr32/mm/dma-coherent.c |2 +- arch/ia64/Kconfig |8

[RFC PATCH 0/2] Merge HUGETLB_PAGE and HUGETLBFS Kconfig options

2008-06-12 Thread Adam Litke
defconfigs), could do well with a review from several sets of eyeballs. Thanks. -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev

Re: [BUG] 2.6.25-rc3-mm1 kernel bug while running libhugetlbfs

2008-03-04 Thread Adam Litke
itial version had a BUG_ON() with side-effects. When a reviewer pointed it out, I thought I could fix the patch up on its way out the door. I have self-administered my punishment. This patch will fix it: Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- mm/hugetlb.c.orig 2008-03-

[PATCH] hugetlb: follow_hugetlb_page for write access

2007-11-07 Thread Adam Litke
calls get_user_pages() with write set will not expect COW faults to occur on the returned pages. This patch passes the write flag down to follow_hugetlb_page() and makes sure hugetlb_fault() is called with the right write_access parameter. Signed-off-by: Adam Litke <[EMAIL PROTECTED]> --- i

[Documentation] Page Table Layout diagrams

2007-08-08 Thread Adam Litke
misinformation, could a few of you experts take a quick look at the three diagrams I've got finished so far and point out any errors I have made? Thanks. -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ___ Linuxppc-dev mailing list Lin