On Wed, 14 Sep 2022 12:09:17 -0700 Doug Berger <opendmb@xxxxxxxxx> wrote:As Mike said this would only conceptually be a problem for systems with CONFIG_SPARSEMEM && !CONFIG_SPARSEMEM_VMEMMAP, and could cause kernel address exceptions or memory corruption with unpredictable side effects.
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?