]> git.baikalelectronics.ru Git - kernel.git/commit
x86/paravirt: Avoid needless paravirt step clearing page table entries
authorJuergen Gross <jgross@suse.com>
Sat, 15 Aug 2020 10:06:41 +0000 (12:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 15 Aug 2020 11:52:12 +0000 (13:52 +0200)
commit69e75ac3555a143669734012c680e2698f34679c
treeafd8e0afa227d9d95aa8a290382d687701f3a385
parent235e1c2bc4fee90d180724f7568df4260a4fb366
x86/paravirt: Avoid needless paravirt step clearing page table entries

pte_clear() et al are based on two paravirt steps today: one step to
create a page table entry with all zeroes, and one step to write this
entry value.

Drop the first step as it is completely useless.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200815100641.26362-7-jgross@suse.com
arch/x86/include/asm/paravirt.h