From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966467AbcIHKjE (ORCPT ); Thu, 8 Sep 2016 06:39:04 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:43497 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966224AbcIHKjD (ORCPT ); Thu, 8 Sep 2016 06:39:03 -0400 Date: Thu, 8 Sep 2016 12:36:27 +0200 (CEST) From: Thomas Gleixner To: Fenghua Yu cc: "H. Peter Anvin" , Ingo Molnar , Tony Luck , Peter Zijlstra , Tejun Heo , Borislav Petkov , Stephane Eranian , Marcelo Tosatti , David Carrillo-Cisneros , Shaohua Li , Ravi V Shankar , Vikas Shivappa , Sai Prakhya , linux-kernel , x86 Subject: Re: [PATCH v2 18/33] sched.h: Add rg_list and rdtgroup in task_struct In-Reply-To: <1473328647-33116-19-git-send-email-fenghua.yu@intel.com> Message-ID: References: <1473328647-33116-1-git-send-email-fenghua.yu@intel.com> <1473328647-33116-19-git-send-email-fenghua.yu@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Sep 2016, Fenghua Yu wrote: > From: Fenghua Yu > > 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 > Reviewed-by: Tony Luck > --- > 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 > >