[PATCH 1/1] powerpc: Check for valid hugepage size in hugetlb_get_unmapped_area

Brian King brking at linux.vnet.ibm.com
Fri Dec 5 10:06:18 EST 2008


Paul Mackerras wrote:
> Brian King writes:
> 
>> It looks like most of the hugetlb code is doing the correct thing if
>> hugepages are not supported, but the mmap code is not. If we get into
>> the mmap code when hugepages are not supported, such as in an LPAR
>> which is running Active Memory Sharing, we can oops the kernel. This
>> patch fixes the oops being seen in this path.
> 
> Sounds like this is a regression since 2.6.27 - is it?  In any case, I
> assume this needs to go to Linus for 2.6.28.  Do you agree?

This should go to Linus for 2.6.28

Thanks,

Brian

-- 
Brian King
Linux on Power Virtualization
IBM Linux Technology Center





More information about the Linuxppc-dev mailing list