diff options
author | Sean Christopherson <[email protected]> | 2021-05-04 17:27:32 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2021-05-05 22:54:11 +0200 |
commit | 6f922b89e5518143920b10e3643e556d9df58d94 (patch) | |
tree | 0a6afd2d14aeabc85a2302cf6b3acb9467eaca4b /lib/mpi/mpi-sub-ui.c | |
parent | b41c723b203e19480c26f2ec8f04eedc03d34b34 (diff) |
sched/vtime: Move guest enter/exit vtime accounting to vtime.h
Provide separate helpers for guest enter vtime accounting (in addition to
the existing guest exit helpers), and move all vtime accounting helpers
to vtime.h where the existing #ifdef infrastructure can be leveraged to
better delineate the different types of accounting. This will also allow
future cleanups via deduplication of context tracking code.
Opportunstically delete the vtime_account_kernel() stub now that all
callers are wrapped with CONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y.
No functional change intended.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions