On 10/02/2019 19:14, Linus Torvalds wrote:
> On Sat, Feb 9, 2019 at 11:41 PM Juergen Gross wrote:
>>
>> Make set_pmd_at() paravirt aware by just letting it use set_pmd().
>
> Well, that was simpler than I worried.
>
> Just checking: Is this purely an x86 issue? ARM is ok perhaps because
>
On Sat, Feb 9, 2019 at 11:41 PM Juergen Gross wrote:
>
> Make set_pmd_at() paravirt aware by just letting it use set_pmd().
Well, that was simpler than I worried.
Just checking: Is this purely an x86 issue? ARM is ok perhaps because
there's no PV support?
Linus
set_pmd_at() calls native_set_pmd() unconditionally on x86. This was
fine as long as only huge page entries were written via set_pmd_at(),
as Xen pv guests don't support those.
Commit 2c91bd4a4e2e53 ("mm: speed up mremap by 20x on large regions")
introduced a usage of set_pmd_at() possible on pv