diff options
| author | Junaid Shahid <[email protected]> | 2022-07-23 02:43:16 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2022-08-19 11:38:02 +0000 |
| commit | 1441ca1494d74a2c9d6c9bd8dd633d9ebff1daba (patch) | |
| tree | 48121a5391bd98c399f60871cab369cd3ebc24cb /fs/jbd2/commit.c | |
| parent | Merge tag 'kvmarm-fixes-6.0-1' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-1441ca1494d74a2c9d6c9bd8dd633d9ebff1daba.tar.gz kernel-1441ca1494d74a2c9d6c9bd8dd633d9ebff1daba.zip | |
kvm: x86: mmu: Drop the need_remote_flush() function
This is only used by kvm_mmu_pte_write(), which no longer actually
creates the new SPTE and instead just clears the old SPTE. So we
just need to check if the old SPTE was shadow-present instead of
calling need_remote_flush(). Hence we can drop this function. It was
incomplete anyway as it didn't take access-tracking into account.
This patch should not result in any functional change.
Signed-off-by: Junaid Shahid <[email protected]>
Reviewed-by: David Matlack <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
