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

Paul Mackerras paulus at samba.org
Fri Dec 5 10:03:04 EST 2008


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?

Paul.



More information about the Linuxppc-dev mailing list