summaryrefslogtreecommitdiffstats
path: root/mm/Kconfig
diff options
context:
space:
mode:
authorAndrea Arcangeli2011-01-14 00:47:06 +0100
committerLinus Torvalds2011-01-14 02:32:45 +0100
commitce83d2174ea9c3d72d5821cf3ebc974e36391bf7 (patch)
tree5e31167f84110551cf00ed3335b2cc3af317b33a /mm/Kconfig
parentthp: add numa awareness to hugepage allocations (diff)
downloadkernel-qcow2-linux-ce83d2174ea9c3d72d5821cf3ebc974e36391bf7.tar.gz
kernel-qcow2-linux-ce83d2174ea9c3d72d5821cf3ebc974e36391bf7.tar.xz
kernel-qcow2-linux-ce83d2174ea9c3d72d5821cf3ebc974e36391bf7.zip
thp: allocate memory in khugepaged outside of mmap_sem write mode
This tries to be more friendly to filesystem in userland, with userland backends that allocate memory in the I/O paths and that could deadlock if khugepaged holds the mmap_sem write mode of the userland backend while allocating memory. Memory allocation may wait for writeback I/O completion from the daemon that may be blocked in the mmap_sem read mode if a page fault happens and the daemon wasn't using mlock for the memory required for the I/O submission and completion. Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/Kconfig')
0 files changed, 0 insertions, 0 deletions