Re: [PATCH v4 05/24] x86/resctrl: Label the resources with their configuration type

From: Reinette Chatre
Date: Tue Jun 15 2021 - 14:08:35 EST


Hi James,

On 6/14/2021 1:09 PM, James Morse wrote:
...

diff --git a/include/linux/resctrl.h b/include/linux/resctrl.h
index 425e7913dc8d..81073d0751c9 100644
--- a/include/linux/resctrl.h
+++ b/include/linux/resctrl.h
@@ -15,6 +15,14 @@ int proc_resctrl_show(struct seq_file *m,
#endif
+enum resctrl_conf_type {
+ /* No prioritisation, both code and data are controlled or monitored. */
+ CDP_NONE,
+
+ CDP_CODE,
+ CDP_DATA,
+};
+


Please follow style of the rest of this file - please no inline documentation, use proper kernel-doc instead.

Reinette