Re: [PATCH] mm/hugetlb: correct demote page offset logic

From: Andrew Morton
Date: Wed Sep 14 2022 - 16:50:02 EST


On Wed, 14 Sep 2022 12:09:17 -0700 Doug Berger <opendmb@xxxxxxxxx> wrote:

> With gigantic pages it may not be true that struct page structures
> are contiguous across the entire gigantic page. The nth_page macro
> is used here in place of direct pointer arithmetic to correct for
> this.

What were the user-visible runtime effects of this bug?