Re: [PATCH] mm,numa,THP: initialize hstate for THP page size

From: Andrew Morton
Date: Wed Dec 18 2013 - 17:08:39 EST


On Wed, 18 Dec 2013 17:03:14 -0500 Rik van Riel <riel@xxxxxxxxxx> wrote:

> When hugetlbfs is started with a non-default page size, it is
> possible that no hstate is initialized for the page sized used
> by transparent huge pages.
>
> This causes copy_huge_page to crash on a null pointer. Make
> sure we always have an hpage initialized for the page sized
> used by THP.
>

A bit more context is needed here please - so that people can decide
which kernel version(s) need patching.

--
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/