Re: [PATCH] mm: fix ENOSPC returned by handle_mm_fault()

From: Mel Gorman
Date: Tue Jun 07 2011 - 05:57:58 EST

On Sun, Jun 05, 2011 at 10:03:13PM -0700, Hugh Dickins wrote:
> Al Viro observes that in the hugetlb case, handle_mm_fault() may return
> a value of the kind ENOSPC when its caller is expecting a value of the
> kind VM_FAULT_SIGBUS: fix alloc_huge_page()'s failure returns.
> Signed-off-by: Hugh Dickins <hughd@xxxxxxxxxx>
> Acked-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> Cc: stable@xxxxxxxxxx

Nicely spotted!

Acked-by: Mel Gorman <mel@xxxxxxxxx>

Mel Gorman
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at