Re: Hugepage bugfix
From: William Lee Irwin III
Date: Tue Jun 01 2004 - 21:45:24 EST
On Wed, Jun 02, 2004 at 12:23:12PM +1000, David Gibson wrote:
> Currently the hugepage code stores the hugepage destructor in the
> mapping field of the second of the compound pages. However, this
> field is never cleared again, which causes tracebacks from
> free_pages_check() if the hugepage is later destroyed by reducing the
> number in /proc/sys/vm/nr_hugepages. This patch fixes the bug by
> clearing the mapping field when the hugepage is freed.
Good catch; thanks.
-- wli
-
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/