Revision a835429cda91621fca915d80672a157b47738afb authored by Sean Christopherson on 25 March 2021, 20:01:17 UTC, committed by Paolo Bonzini on 30 March 2021, 17:19:55 UTC
When flushing a range of GFNs across multiple roots, ensure any pending flush from a previous root is honored before yielding while walking the tables of the current root. Note, kvm_tdp_mmu_zap_gfn_range() now intentionally overwrites its local "flush" with the result to avoid redundant flushes. zap_gfn_range() preserves and return the incoming "flush", unless of course the flush was performed prior to yielding and no new flush was triggered. Fixes: 1af4a96025b3 ("KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed") Cc: stable@vger.kernel.org Reviewed-by: Ben Gardon <bgardon@google.com> Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210325200119.1359384-2-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 1e28eed
File | Mode | Size |
---|---|---|
tests | ||
Kconfig | -rw-r--r-- | 3.3 KB |
Makefile | -rw-r--r-- | 1.9 KB |
acl.c | -rw-r--r-- | 3.2 KB |
async-thread.c | -rw-r--r-- | 10.3 KB |
async-thread.h | -rw-r--r-- | 1.6 KB |
backref.c | -rw-r--r-- | 82.6 KB |
backref.h | -rw-r--r-- | 10.5 KB |
block-group.c | -rw-r--r-- | 98.4 KB |
block-group.h | -rw-r--r-- | 10.6 KB |
block-rsv.c | -rw-r--r-- | 16.2 KB |
block-rsv.h | -rw-r--r-- | 3.1 KB |
btrfs_inode.h | -rw-r--r-- | 10.2 KB |
check-integrity.c | -rw-r--r-- | 88.9 KB |
check-integrity.h | -rw-r--r-- | 599 bytes |
compression.c | -rw-r--r-- | 44.6 KB |
compression.h | -rw-r--r-- | 6.0 KB |
ctree.c | -rw-r--r-- | 141.9 KB |
ctree.h | -rw-r--r-- | 126.4 KB |
delalloc-space.c | -rw-r--r-- | 16.6 KB |
delalloc-space.h | -rw-r--r-- | 950 bytes |
delayed-inode.c | -rw-r--r-- | 51.6 KB |
delayed-inode.h | -rw-r--r-- | 4.3 KB |
delayed-ref.c | -rw-r--r-- | 33.1 KB |
delayed-ref.h | -rw-r--r-- | 11.0 KB |
dev-replace.c | -rw-r--r-- | 38.3 KB |
dev-replace.h | -rw-r--r-- | 970 bytes |
dir-item.c | -rw-r--r-- | 11.3 KB |
discard.c | -rw-r--r-- | 22.9 KB |
discard.h | -rw-r--r-- | 1.4 KB |
disk-io.c | -rw-r--r-- | 135.7 KB |
disk-io.h | -rw-r--r-- | 5.6 KB |
export.c | -rw-r--r-- | 7.1 KB |
export.h | -rw-r--r-- | 533 bytes |
extent-io-tree.h | -rw-r--r-- | 8.8 KB |
extent-tree.c | -rw-r--r-- | 162.5 KB |
extent_io.c | -rw-r--r-- | 175.2 KB |
extent_io.h | -rw-r--r-- | 10.7 KB |
extent_map.c | -rw-r--r-- | 17.3 KB |
extent_map.h | -rw-r--r-- | 2.7 KB |
file-item.c | -rw-r--r-- | 33.9 KB |
file.c | -rw-r--r-- | 98.5 KB |
free-space-cache.c | -rw-r--r-- | 107.3 KB |
free-space-cache.h | -rw-r--r-- | 5.2 KB |
free-space-tree.c | -rw-r--r-- | 39.5 KB |
free-space-tree.h | -rw-r--r-- | 2.1 KB |
inode-item.c | -rw-r--r-- | 11.0 KB |
inode.c | -rw-r--r-- | 295.5 KB |
ioctl.c | -rw-r--r-- | 122.4 KB |
locking.c | -rw-r--r-- | 6.6 KB |
locking.h | -rw-r--r-- | 4.3 KB |
lzo.c | -rw-r--r-- | 11.6 KB |
misc.h | -rw-r--r-- | 2.4 KB |
ordered-data.c | -rw-r--r-- | 28.3 KB |
ordered-data.h | -rw-r--r-- | 6.3 KB |
orphan.c | -rw-r--r-- | 1.1 KB |
print-tree.c | -rw-r--r-- | 12.2 KB |
print-tree.h | -rw-r--r-- | 456 bytes |
props.c | -rw-r--r-- | 10.0 KB |
props.h | -rw-r--r-- | 800 bytes |
qgroup.c | -rw-r--r-- | 109.3 KB |
qgroup.h | -rw-r--r-- | 14.1 KB |
raid56.c | -rw-r--r-- | 66.7 KB |
raid56.h | -rw-r--r-- | 1.7 KB |
rcu-string.h | -rw-r--r-- | 997 bytes |
reada.c | -rw-r--r-- | 26.8 KB |
ref-verify.c | -rw-r--r-- | 24.9 KB |
ref-verify.h | -rw-r--r-- | 1.1 KB |
reflink.c | -rw-r--r-- | 25.5 KB |
reflink.h | -rw-r--r-- | 305 bytes |
relocation.c | -rw-r--r-- | 101.4 KB |
root-tree.c | -rw-r--r-- | 13.9 KB |
scrub.c | -rw-r--r-- | 112.7 KB |
send.c | -rw-r--r-- | 181.0 KB |
send.h | -rw-r--r-- | 2.3 KB |
space-info.c | -rw-r--r-- | 53.4 KB |
space-info.h | -rw-r--r-- | 5.8 KB |
struct-funcs.c | -rw-r--r-- | 6.1 KB |
subpage.c | -rw-r--r-- | 8.4 KB |
subpage.h | -rw-r--r-- | 2.9 KB |
super.c | -rw-r--r-- | 72.3 KB |
sysfs.c | -rw-r--r-- | 50.6 KB |
sysfs.h | -rw-r--r-- | 1.6 KB |
transaction.c | -rw-r--r-- | 70.5 KB |
transaction.h | -rw-r--r-- | 7.7 KB |
tree-checker.c | -rw-r--r-- | 53.2 KB |
tree-checker.h | -rw-r--r-- | 702 bytes |
tree-defrag.c | -rw-r--r-- | 3.5 KB |
tree-log.c | -rw-r--r-- | 173.9 KB |
tree-log.h | -rw-r--r-- | 2.8 KB |
ulist.c | -rw-r--r-- | 6.7 KB |
ulist.h | -rw-r--r-- | 1.9 KB |
uuid-tree.c | -rw-r--r-- | 8.4 KB |
volumes.c | -rw-r--r-- | 213.0 KB |
volumes.h | -rw-r--r-- | 17.3 KB |
xattr.c | -rw-r--r-- | 13.2 KB |
xattr.h | -rw-r--r-- | 804 bytes |
zlib.c | -rw-r--r-- | 11.8 KB |
zoned.c | -rw-r--r-- | 36.0 KB |
zoned.h | -rw-r--r-- | 8.4 KB |
zstd.c | -rw-r--r-- | 18.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...