|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] x86/shadow: drop zero initialization from shadow_domain_init()
commit 4e4a3eeaa8a32b7ed5333894a1bc73f97fedc5d4
Author: Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Mar 16 14:49:20 2023 +0100
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Mar 16 14:49:20 2023 +0100
x86/shadow: drop zero initialization from shadow_domain_init()
There's no need for this as struct domain starts out zero-filled.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
xen/arch/x86/mm/shadow/common.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/xen/arch/x86/mm/shadow/common.c b/xen/arch/x86/mm/shadow/common.c
index a9260f5711..7ad0e538b3 100644
--- a/xen/arch/x86/mm/shadow/common.c
+++ b/xen/arch/x86/mm/shadow/common.c
@@ -102,12 +102,8 @@ int shadow_domain_init(struct domain *d)
d->arch.paging.update_paging_modes = shadow_update_paging_modes;
-#if (SHADOW_OPTIMIZATIONS & SHOPT_OUT_OF_SYNC)
- d->arch.paging.shadow.oos_active = 0;
-#endif
#ifdef CONFIG_HVM
d->arch.paging.flush_tlb = shadow_flush_tlb;
- d->arch.paging.shadow.pagetable_dying_op = 0;
#endif
return 0;
--
generated by git-patchbot for /home/xen/git/xen.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |