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
Kconfig -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 178 bytes
xz_crc32.c -rw-r--r-- 1.2 KB
xz_dec_bcj.c -rw-r--r-- 13.1 KB
xz_dec_lzma2.c -rw-r--r-- 28.4 KB
xz_dec_stream.c -rw-r--r-- 19.3 KB
xz_dec_syms.c -rw-r--r-- 664 bytes
xz_dec_test.c -rw-r--r-- 5.2 KB
xz_lzma2.h -rw-r--r-- 6.0 KB
xz_private.h -rw-r--r-- 4.4 KB
xz_stream.h -rw-r--r-- 1.4 KB

back to top