Re: [PATCH v7 7/8] x86/resctrl: Introduce "-o debug" mount option
From: Reinette Chatre
Date: Tue Aug 15 2023 - 18:52:34 EST
Hi Babu,
On 8/11/2023 1:10 PM, Babu Moger wrote:
...
> @@ -2833,6 +2849,8 @@ static void rdt_kill_sb(struct super_block *sb)
>
> set_mba_sc(false);
>
> + resctrl_debug = false;
> +
> /*Put everything back to default values. */
> for_each_alloc_capable_rdt_resource(r)
> reset_all_ctrls(r);
This should not be necessary as rdt_disable_ctx() should already
be called here.
> @@ -3713,6 +3731,9 @@ static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf)
> if (is_mba_sc(&rdt_resources_all[RDT_RESOURCE_MBA].r_resctrl))
> seq_puts(seq, ",mba_MBps");
>
> + if (resctrl_debug)
> + seq_puts(seq, ",debug");
> +
> return 0;
> }
>
>
>
Reinette