Revision a7d6e4ecdb7648478ddec76d30d87d03d6e22b31 authored by Andrea Arcangeli on 15 February 2011, 18:02:45 UTC, committed by Linus Torvalds on 15 February 2011, 23:21:11 UTC
Transparent hugepages can only be created if rmap is fully
functional. So we must prevent hugepages to be created while
is_vma_temporary_stack() is true.

This also optmizes away some harmless but unnecessary setting of
khugepaged_scan.address and it switches some BUG_ON to VM_BUG_ON.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 09f586b
History
File Mode Size
platform
acexcep.h -rw-r--r-- 12.5 KB
acnames.h -rw-r--r-- 3.4 KB
acoutput.h -rw-r--r-- 11.0 KB
acpi.h -rw-r--r-- 3.0 KB
acpi_bus.h -rw-r--r-- 11.1 KB
acpi_drivers.h -rw-r--r-- 5.2 KB
acpi_numa.h -rw-r--r-- 471 bytes
acpiosxf.h -rw-r--r-- 7.6 KB
acpixf.h -rw-r--r-- 12.3 KB
acrestyp.h -rw-r--r-- 11.0 KB
actbl.h -rw-r--r-- 16.2 KB
actbl1.h -rw-r--r-- 25.3 KB
actbl2.h -rw-r--r-- 26.5 KB
actypes.h -rw-r--r-- 34.0 KB
apei.h -rw-r--r-- 1005 bytes
atomicio.h -rw-r--r-- 307 bytes
button.h -rw-r--r-- 652 bytes
container.h -rw-r--r-- 198 bytes
hed.h -rw-r--r-- 371 bytes
pdc_intel.h -rw-r--r-- 1009 bytes
processor.h -rw-r--r-- 9.0 KB
reboot.h -rw-r--r-- 162 bytes
video.h -rw-r--r-- 924 bytes

back to top