From: Ingo Molnar <mingo@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Li Zefan <lizefan@huawei.com>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 0/7] sched: Split cpuacct
Date: Wed, 10 Apr 2013 15:10:50 +0200 [thread overview]
Message-ID: <20130410131050.GA15934@gmail.com> (raw)
In-Reply-To: <20130410131010.GA15728@gmail.com>
* Ingo Molnar <mingo@kernel.org> wrote:
>
> * Peter Zijlstra <peterz@infradead.org> wrote:
>
> > On Fri, 2013-03-29 at 14:36 +0800, Li Zefan wrote:
> >
> > > - This patchset splits cpuacct out of core scheduler code.
> > > - Plus two small optimizations.
> > >
> >
> > > ---
> > > kernel/sched/Makefile | 1 +
> > > kernel/sched/core.c | 228 +----------------------------------------------
> > > kernel/sched/cpuacct.c | 303 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > > kernel/sched/cpuacct.h | 22 +++++
> > > kernel/sched/cputime.c | 18 +---
> > > kernel/sched/sched.h | 48 +---------
> > > 6 files changed, 330 insertions(+), 290 deletions(-)
> >
> > Looks good from a quick glance, thanks for doing this.
> >
> > Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
>
> Looks good to me too, so I added it to tip:sched/core.
>
> The only breakage it cased was on UML:
>
> home/mingo/tip/kernel/sched/cpuacct.c:94:2: error: implicit declaration of
> function 'ERR_PTR' [-Werror=implicit-function-declaration]
>
> I suspect it's a previously hidden header file dependency assumption and the patch
> below will fix it.
diff --git a/kernel/sched/cpuacct.c b/kernel/sched/cpuacct.c
index ef57ab6..dbb7e2c 100644
--- a/kernel/sched/cpuacct.c
+++ b/kernel/sched/cpuacct.c
@@ -6,6 +6,7 @@
#include <linux/seq_file.h>
#include <linux/rcupdate.h>
#include <linux/kernel_stat.h>
+#include <linux/err.h>
#include "sched.h"
prev parent reply other threads:[~2013-04-10 13:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-29 6:36 [PATCH v2 0/7] sched: Split cpuacct Li Zefan
2013-03-29 6:36 ` [PATCH v2 1/7] sched: Split cpuacct code out of core.c Li Zefan
2013-04-10 13:36 ` [tip:sched/core] " tip-bot for Li Zefan
2013-03-29 6:36 ` [PATCH v2 2/7] sched: Split cpuacct code out of sched.h Li Zefan
2013-04-10 13:37 ` [tip:sched/core] " tip-bot for Li Zefan
2013-03-29 6:36 ` [PATCH v2 3/7] cpuacct: Add cpuacct_init() Li Zefan
2013-04-10 13:38 ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29 6:37 ` [PATCH v2 4/7] cpuacct: Add cpuacct_acount_field() Li Zefan
2013-04-10 13:40 ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29 6:37 ` [PATCH v2 5/7] cpuacct: Remove redundant NULL checks in cpuacct_charge() Li Zefan
2013-04-10 13:41 ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29 6:37 ` [PATCH v2 6/7] cpuacct: Remove redundant NULL checks in cpuacct_acount_field() Li Zefan
2013-04-10 13:42 ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29 6:38 ` [PATCH v2 7/7] cpuacct: Clean up cpuacct.h Li Zefan
2013-04-10 13:43 ` [tip:sched/core] sched/cpuacct: " tip-bot for Li Zefan
2013-03-29 10:34 ` [PATCH v2 0/7] sched: Split cpuacct Peter Zijlstra
2013-04-10 13:10 ` Ingo Molnar
2013-04-10 13:10 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130410131050.GA15934@gmail.com \
--to=mingo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lizefan@huawei.com \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox