KVM: x86/mmu: Store the address space ID in the TDP iterator
mainline inclusion from mainline-v5.12-rc4 commit 08889894 category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7S3VQ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=08889894cc82bc3b213bdb192f274358e5a6b78d ---------------------------------------------------------------------- Store the address space ID in the TDP iterator so that it can be retrieved without having to bounce through the root shadow page. This streamlines the code and fixes a Sparse warning about not properly using rcu_dereference() when grabbing the ID from the root on the fly. Reported-by:kernel test robot <lkp@intel.com> Signed-off-by:
Sean Christopherson <seanjc@google.com> Signed-off-by:
Ben Gardon <bgardon@google.com> Message-Id: <20210315233803.2706477-5-bgardon@google.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com> Signed-off-by:
Yu Zhang <yu.c.zhang@linux.intel.com>
Loading
Please sign in to comment