diff options
author | David Rientjes <rientjes@google.com> | 2012-05-29 15:06:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-29 16:22:19 -0700 |
commit | edad9d2c337d43278a9d5aeb0ed531c2e838f8a6 (patch) | |
tree | 9cd9aba0647d5d1eedd602451cd34f2d514fd30d /kernel | |
parent | aa2e878efa7949c8502c9760f92835222714f090 (diff) | |
download | blackbird-op-linux-edad9d2c337d43278a9d5aeb0ed531c2e838f8a6.tar.gz blackbird-op-linux-edad9d2c337d43278a9d5aeb0ed531c2e838f8a6.zip |
mm, thp: allow fallback when pte_alloc_one() fails for huge pmd
The transparent hugepages feature is careful to not invoke the oom
killer when a hugepage cannot be allocated.
pte_alloc_one() failing in __do_huge_pmd_anonymous_page(), however,
currently results in VM_FAULT_OOM which invokes the pagefault oom killer
to kill a memory-hogging task.
This is unnecessary since it's possible to drop the reference to the
hugepage and fallback to allocating a small page.
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: 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 'kernel')
0 files changed, 0 insertions, 0 deletions