OSDN Git Service

KVM: Rename lru_slot to last_used_slot
authorDavid Matlack <dmatlack@google.com>
Wed, 4 Aug 2021 22:28:38 +0000 (22:28 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Aug 2021 11:52:28 +0000 (07:52 -0400)
commit87689270b10fa9e6fac7242233b355cb6792b845
tree8156311976a3e7651e688303a69a53c94bb4df65
parent319afe68567b923e25140e744e7f05e3e5d889c1
KVM: Rename lru_slot to last_used_slot

lru_slot is used to keep track of the index of the most-recently used
memslot. The correct acronym would be "mru" but that is not a common
acronym. So call it last_used_slot which is a bit more obvious.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20210804222844.1419481-2-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/s390/kvm/kvm-s390.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c