Re: [PATCH] mm: hugetlb_vmemmap: fix a race between vmemmap pmd split

From: Andrew Morton
Date: Fri Jul 07 2023 - 15:43:07 EST


On Fri, 7 Jul 2023 11:38:59 +0800 Muchun Song <songmuchun@xxxxxxxxxxxxx> wrote:

> And inline __split_vmemmap_huge_pmd()
> since it only has one user.

"open code" would be a better term than "inline" in this situation.

If we are to offer this change to -stable then it would be better to do
the open-coding of __split_vmemmap_huge_pmd() in a separate, later
patch.