> Introduce a new driver in virt named steal_governor. This driver > will compute the steal time and drive the policy decisions regarding the > preferred CPU state. > > Note that this driver is strictly intended for actual guests. Hence > block it on Xen dom0. > More details can be found in Documentation/driver-api/steal-governor.rst. > > A new kconfig called STEAL_GOVERNOR is introduced in subsequent patches, > which enables this driver. This driver will select CONFIG_PREFERRED_CPU. > This makes configs driven by user preference/configuration. > When the driver is disabled, preferred CPUs remain the same as active CPUs. > > The file layout of the driver is kept simple for now. The code is in > drivers/virt/steal_governor.c, and the configs are part of > drivers/virt/Kconfig. > > The main structure of the steal governor contains: > - work, delay: Deferred periodic work function variables. > - steal, time: Used to calculate deltas during periodic work. > - interval_ms, high_threshold, low_threshold: Tuning knobs for the > steal governor. > > While there, add MAINTAINERS entry for this new driver. > > Suggested-by: Yury Norov <[email protected]> > Suggested-by: K Prateek Nayak <[email protected]> > Signed-off-by: Shrikanth Hegde <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/[email protected]?part=10
