Re: [RFC][PATCH 1/2] hugetlb: fix resv_map leak in error path

From: Dave Hansen
Date: Mon May 21 2012 - 16:34:33 EST


On 05/21/2012 01:30 PM, Dave Hansen wrote:
> When called for anonymous (non-shared) mappings,
> hugetlb_reserve_pages() does a resv_map_alloc(). It depends on
> code in hugetlbfs's vm_ops->close() to release that allocation.

Sorry, this one escaped unintentionally! This patch itself is good, but
I didn't mean to send it along with 2/2. Disregard this 1/2, but please
take a look at 2/2!

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/