Re: [PATCH 3/5] hugetlb: update_and_free_page(): don't clear PG_reserved bit

From: Kirill A. Shutemov
Date: Tue Apr 08 2014 - 16:52:24 EST


On Tue, Apr 08, 2014 at 03:02:18PM -0400, Luiz Capitulino wrote:
> Hugepages pages never get the PG_reserved bit set, so don't clear it. But
> add a warning just in case.

I don't think WARN_ON() is needed. PG_reserved will be catched by
free_pages_check().

--
Kirill A. Shutemov
--
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/