Re: [PATCH v2] mm, hugetlb: set PageLRU for in-use/active hugepages

From: Andrew Morton
Date: Tue Feb 17 2015 - 19:02:56 EST

On Tue, 17 Feb 2015 15:57:44 -0800 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> So if I'm understanding this correctly, hugepages never have PG_lru set
> and so you are overloading that bit on hugepages to indicate that the
> page is present on hstate->hugepage_activelist?

And maybe we don't need to overload PG_lru at all? There's plenty of
free space in the compound page's *(page + 1).

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