aboutsummaryrefslogtreecommitdiff
path: root/net/packet
diff options
context:
space:
mode:
authorNicholas Piggin2021-11-23 19:52:22 +1000
committerMichael Ellerman2021-11-24 21:09:02 +1100
commit46dea77f790c1e7ab2e9f7452e34de0dc5da9b13 (patch)
treeaf24a8dc8afc9b6493cd93ee7b9d296516edcde4 /net/packet
parentd5c0e8332d82c04deee25dd6f28c5bbe84d49a73 (diff)
KVM: PPC: Book3S HV Nested: Avoid extra mftb() in nested entry
mftb() is expensive and one can be avoided on nested guest dispatch. If the time checking code distinguishes between the L0 timer and the nested HV timer, then both can be tested in the same place with the same mftb() value. This also nicely illustrates the relationship between the L0 and nested HV timers. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20211123095231.1036501-45-npiggin@gmail.com
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions