Andrea Arcangeli ce83d2174e 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>
2011-01-13 17:32:45 -08:00
..
2009-04-01 08:59:13 -07:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:44 -08:00
2010-08-08 21:57:23 +01:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:42 -08:00
2009-09-22 07:17:35 -07:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:43 -08:00
2010-03-24 16:31:21 -07:00
2011-01-13 17:32:41 -08:00
2010-05-21 18:31:21 -04:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2010-05-25 08:07:00 -07:00
2011-01-13 17:32:43 -08:00
2011-01-07 17:50:26 +11:00
2011-01-13 17:32:33 -08:00
2011-01-13 17:32:43 -08:00
2011-01-13 17:32:41 -08:00
2011-01-13 17:32:42 -08:00
2011-01-13 17:32:41 -08:00
2009-06-23 12:50:05 -07:00
2011-01-13 17:32:36 -08:00
2011-01-13 17:32:43 -08:00