Thread (63 messages) 63 messages, 13 authors, 2022-10-12

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

From: Muchun Song <muchun.song@linux.dev>
Date: 2022-09-15 01:40:56
Also in: linux-doc, linux-iommu, linux-mm, lkml

On Sep 14, 2022, at 03:54, Doug Berger [off-list ref] wrote:

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

Fixes: 8531fc6f52f5 ("hugetlb: add hugetlb demote page support")
Signed-off-by: Doug Berger <opendmb@gmail.com>
With Matthew’s suggestion.

Acked-by: Muchun Song <redacted>

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help