]> err.no Git - linux-2.6/commit
[PATCH] hugetlbpage: return VM_FAULT_OOM on oom
authorChristoph Lameter <clameter@engr.sgi.com>
Tue, 7 Feb 2006 20:58:30 +0000 (12:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:31 +0000 (16:12 -0800)
commit0df420d8b6c718d9a5e37531c3a9a6804493e9f4
tree6b8edbb55eb8d5e84fb223bbcef7c54789270cde
parenta2dfef6947139db9b886fce510c4d0c913beb5f0
[PATCH] hugetlbpage: return VM_FAULT_OOM on oom

Remove wrong and misleading comments.

Return VM_FAULT_OOM if the hugetlbpage fault handler cannot allocate a
page.  do_no_page will end up doing do_exit(SIGKILL).

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/hugetlb.c