aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-07-02 19:35:35 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-09 13:29:40 -0400
commit9688088378d41d7918ee50fc89b6f884212aaa22 (patch)
tree98040f36c440a243dbf9a50a690aba6358c87ec5 /tools/perf/scripts/python/export-to-postgresql.py
parentKVM: x86/mmu: Make __GFP_ZERO a property of the memory cache (diff)
downloadwireguard-linux-9688088378d41d7918ee50fc89b6f884212aaa22.tar.xz
wireguard-linux-9688088378d41d7918ee50fc89b6f884212aaa22.zip
KVM: x86/mmu: Zero allocate shadow pages (outside of mmu_lock)
Set __GFP_ZERO for the shadow page memory cache and drop the explicit clear_page() from kvm_mmu_get_page(). This moves the cost of zeroing a page to the allocation time of the physical page, i.e. when topping up the memory caches, and thus avoids having to zero out an entire page while holding mmu_lock. Cc: Peter Feiner <pfeiner@google.com> Cc: Peter Shier <pshier@google.com> Cc: Junaid Shahid <junaids@google.com> Cc: Jim Mattson <jmattson@google.com> Suggested-by: Ben Gardon <bgardon@google.com> Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200703023545.8771-12-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions