Re: [PATCH v2 18/33] sched.h: Add rg_list and rdtgroup in task_struct

From: Thomas Gleixner
Date: Thu Sep 08 2016 - 06:39:07 EST


On Thu, 8 Sep 2016, Fenghua Yu wrote:

> From: Fenghua Yu <fenghua.yu@xxxxxxxxx>
>
> rg_list is linked list to connect to other tasks in a rdtgroup.

There is no rg_list in this patch ....

> The point of rdtgroup allows the task to access its own rdtgroup directly.

The point?

Thanks,

tglx

> Signed-off-by: Fenghua Yu <fenghua.yu@xxxxxxxxx>
> Reviewed-by: Tony Luck <tony.luck@xxxxxxxxx>
> ---
> include/linux/sched.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 62c68e5..4b1dce0 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -1766,6 +1766,9 @@ struct task_struct {
> /* cg_list protected by css_set_lock and tsk->alloc_lock */
> struct list_head cg_list;
> #endif
> +#ifdef CONFIG_INTEL_RDT
> + struct rdtgroup *rdtgroup;
> +#endif
> #ifdef CONFIG_FUTEX
> struct robust_list_head __user *robust_list;
> #ifdef CONFIG_COMPAT
> --
> 2.5.0
>
>