Re: [PATCH v20 10/18] x86/resctrl: Refactor mkdir_mondata_subdir() with a helper function

From: Reinette Chatre
Date: Thu Jun 20 2024 - 17:23:58 EST


Hi Tony,

On 6/10/24 11:35 AM, Tony Luck wrote:
In Sub-NUMA Cluster (SNC) mode Linux must create the monitor
files in the original "mon_L3_XX" directories and also in each
of the "mon_sub_L3_YY" directories.

Refactor mkdir_mondata_subdir() to move the creation of monitoring files
into a helper function to avoid the need to duplicate code later.

No functional change.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
---

Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette