Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753432AbbEHVcY (ORCPT ); Fri, 8 May 2015 17:32:24 -0400 Received: from g4t3426.houston.hp.com ([15.201.208.54]:57102 "EHLO g4t3426.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753324AbbEHVcJ (ORCPT ); Fri, 8 May 2015 17:32:09 -0400 Message-ID: <1431120710.5136.12.camel@j-VirtualBox> Subject: [PATCH] sched, timer: Fix documentation for 'struct thread_group_cputimer' From: Jason Low To: Fengguang Wu , linux-kernel@vger.kernel.org, peterz@infradead.org, torvalds@linux-foundation.org, Waiman.Long@hp.com, bp@alien8.de, mingo@kernel.org, preeti@linux.vnet.ibm.com, fweisbec@gmail.com, rostedt@goodmis.org, paulmck@linux.vnet.ibm.com, riel@redhat.com, mgorman@suse.de, hpa@zytor.com, aswin@hp.com, umgwanakikbuti@gmail.com, akpm@linux-foundation.org, oleg@redhat.com, scott.norton@hp.com, dave@stgolabs.net, tglx@linutronix.de Cc: linux-tip-commits@vger.kernel.org Date: Fri, 08 May 2015 14:31:50 -0700 In-Reply-To: References: <1430251224-5764-4-git-send-email-jason.low2@hp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2095 Lines: 55 On Fri, 2015-05-08 at 06:22 -0700, tip-bot for Jason Low wrote: > Commit-ID: 1018016c706f7ff9f56fde3a649789c47085a293 > Gitweb: http://git.kernel.org/tip/1018016c706f7ff9f56fde3a649789c47085a293 > Author: Jason Low > AuthorDate: Tue, 28 Apr 2015 13:00:22 -0700 > Committer: Ingo Molnar > CommitDate: Fri, 8 May 2015 12:15:31 +0200 > > sched, timer: Replace spinlocks with atomics in thread_group_cputimer(), to improve scalability The following patch addresses the issue reported by Fengguang Wu regarding this tip commit 1018016c706f. --------------------------------------------------------------------------- The description for struct thread_group_cputimer contains the 'cputime' and 'lock' members, which are not valid anymore since tip commit 1018016c706f ("sched, timer: Replace spinlocks with atomics in thread_group_cputimer(), to improve scalability") modified/removed those fields. This patch updates the description to reflect those changes. Reported-by: Fengguang Wu Signed-off-by: Jason Low --- include/linux/sched.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/linux/sched.h b/include/linux/sched.h index 6cc4f7e..cb73486 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -606,10 +606,9 @@ struct task_cputime_atomic { /** * struct thread_group_cputimer - thread group interval timer counts - * @cputime: thread group interval timers. + * @cputime_atomic: atomic thread group interval timers. * @running: non-zero when there are timers running and * @cputime receives updates. - * @lock: lock for fields in this struct. * * This structure contains the version of task_cputime, above, that is * used for thread group CPU timer calculations. -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/