Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1451731 > unrolled thread

Re: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct

Started byNilay Vaish <nilayvaish@gmail.com>
First post2016-07-28 08:00 +0200
Last post2016-07-28 08:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct Nilay Vaish <nilayvaish@gmail.com> - 2016-07-28 08:00 +0200

#1451731 — Re: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct

FromNilay Vaish <nilayvaish@gmail.com>
Date2016-07-28 08:00 +0200
SubjectRe: [PATCH 19/32] sched.h: Add rg_list and rdtgroup in task_struct
Message-ID<rZMwp-1Tr-3@gated-at.bofh.it>
On 12 July 2016 at 20:02, Fenghua Yu <fenghua.yu@intel.com> wrote:
> From: Fenghua Yu <fenghua.yu@intel.com>
>
> rg_list is linked list to connect to other tasks in a rdtgroup.
>
> The point of rdtgroup allows the task to access its own rdtgroup directly.
>
> Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
> Reviewed-by: Tony Luck <tony.luck@intel.com>
> ---
>  include/linux/sched.h | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 253538f..55adf17 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -1761,6 +1761,10 @@ 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 list_head rg_list;
> +       struct rdtgroup *rdtgroup;
> +#endif
>  #ifdef CONFIG_FUTEX
>         struct robust_list_head __user *robust_list;
>  #ifdef CONFIG_COMPAT
> --
> 2.5.0
>

I think this patch should be merged with patch 22/32 since struct
rdtgroup 's definition appears in the patch 22/32.  I do not recall
seeing any forward declaration either.

--
Nilay

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web