“e0d07cf1ee7963913b56283fea4276714c8e67e0”上不存在“git@gitcode.net:qq_39751120/gpt-vue.git”
x86/mm: fix poking_init() for Xen PV guests
Commit 3f4c8211 ("x86/mm: Use mm_alloc() in poking_init()") broke the kernel for running as Xen PV guest. It seems as if the new address space is never activated before being used, resulting in Xen rejecting to accept the new CR3 value (the PGD isn't pinned). Fix that by adding the now missing call of paravirt_arch_dup_mmap() to poking_init(). That call was previously done by dup_mm()->dup_mmap() and it is a NOP for all cases but for Xen PV, where it is just doing the pinning of the PGD. Fixes: 3f4c8211 ("x86/mm: Use mm_alloc() in poking_init()") Signed-off-by: NJuergen Gross <jgross@suse.com> Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20230109150922.10578-1-jgross@suse.com
Showing
想要评论请 注册 或 登录