@@ -6,6 +6,19 @@
#include <linux/init.h>
#include <linux/tick.h>
+/**
+ * enum hk_type - housekeeping cpu mask types
+ * @HK_TYPE_TIMER: housekeeping cpu mask for timers
+ * @HK_TYPE_RCU: housekeeping cpu mask for RCU
+ * @HK_TYPE_MISC: housekeeping cpu mask for miscalleanous resources
+ * @HK_TYPE_SCHED: housekeeping cpu mask for scheduling
+ * @HK_TYPE_TICK: housekeeping cpu maks for timer tick
+ * @HK_TYPE_DOMAIN: housekeeping cpu mask for general SMP balancing
+ * and scheduling algoririthms
+ * @HK_TYPE_WQ: housekeeping cpu mask for worksqueues
+ * @HK_TYPE_MANAGED_IRQ: housekeeping cpu mask for managed IRQs
+ * @HK_TYPE_KTHREAD: housekeeping cpu mask for kthreads
+ */
enum hk_type {
HK_TYPE_TIMER,
HK_TYPE_RCU,
The enum is a public API which can be used all over the kernel. This warrants a bit of documentation. Signed-off-by: Daniel Wagner <wagi@kernel.org> --- include/linux/sched/isolation.h | 13 +++++++++++++ 1 file changed, 13 insertions(+)