From: Michael Neuling <mikey@neuling.org>
To: "Balbir Singh" <balbir@linux.vnet.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Christian Borntraeger <borntraeger@de.ibm.com>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
Paul Mackerras <paulus@samba.org>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] Restore deterministic CPU accounting on powerpc
Date: Sun, 04 Nov 2007 23:11:27 +1100 [thread overview]
Message-ID: <30600.1194178287@neuling.org> (raw)
In-Reply-To: <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com>
> > +#ifndef CONFIG_VIRT_CPU_ACCOUNTING
> > +void account_process_tick(int user_tick)
> > +{
> > + if (user_tick) {
> > + account_user_time(p, jiffies_to_cputime(1));
> > + account_user_time_scaled(p, jiffies_to_cputime(1));
> > + } else {
> > + account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1
));
> > + account_system_time_scaled(p, jiffies_to_cputime(1));
> > + }
> > +}
> > +#endif
> > +
>
> Hi, Paul,
>
> So, scaled accounting will not be available if
> CONFIG_VIRT_CPU_ACCOUNTING is defined? Am I reading this correctly
Balbir,
Paulus' patch will have merge issues with the scaled time cleanup patch
I posted a week or so back. My cleanup patch is only in akpm's tree at
this stage.
Mikey
WARNING: multiple messages have this Message-ID (diff)
From: Michael Neuling <mikey@neuling.org>
To: "Balbir Singh" <balbir@linux.vnet.ibm.com>
Cc: "Paul Mackerras" <paulus@samba.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
Christian Borntraeger <borntraeger@de.ibm.com>,
Martin Schwidefsky <schwidefsky@de.ibm.com>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] Restore deterministic CPU accounting on powerpc
Date: Sun, 04 Nov 2007 23:11:27 +1100 [thread overview]
Message-ID: <30600.1194178287@neuling.org> (raw)
In-Reply-To: <661de9470711030202x24d0186cuc96a70156ecfa23f@mail.gmail.com>
> > +#ifndef CONFIG_VIRT_CPU_ACCOUNTING
> > +void account_process_tick(int user_tick)
> > +{
> > + if (user_tick) {
> > + account_user_time(p, jiffies_to_cputime(1));
> > + account_user_time_scaled(p, jiffies_to_cputime(1));
> > + } else {
> > + account_system_time(p, HARDIRQ_OFFSET, jiffies_to_cputime(1
));
> > + account_system_time_scaled(p, jiffies_to_cputime(1));
> > + }
> > +}
> > +#endif
> > +
>
> Hi, Paul,
>
> So, scaled accounting will not be available if
> CONFIG_VIRT_CPU_ACCOUNTING is defined? Am I reading this correctly
Balbir,
Paulus' patch will have merge issues with the scaled time cleanup patch
I posted a week or so back. My cleanup patch is only in akpm's tree at
this stage.
Mikey
next prev parent reply other threads:[~2007-11-04 12:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-02 4:48 [PATCH] Restore deterministic CPU accounting on powerpc Paul Mackerras
2007-11-02 4:48 ` Paul Mackerras
2007-11-02 7:49 ` Martin Schwidefsky
2007-11-02 7:49 ` Martin Schwidefsky
2007-11-03 8:54 ` Ingo Molnar
2007-11-03 8:54 ` Ingo Molnar
2007-11-03 9:32 ` Ingo Molnar
2007-11-03 9:32 ` Ingo Molnar
2007-11-03 12:06 ` Paul Mackerras
2007-11-03 12:06 ` Paul Mackerras
2007-11-03 9:02 ` Balbir Singh
2007-11-03 9:02 ` Balbir Singh
2007-11-03 11:44 ` Paul Mackerras
2007-11-03 11:44 ` Paul Mackerras
2007-11-03 16:47 ` Balbir Singh
2007-11-03 16:47 ` Balbir Singh
2007-11-04 12:11 ` Michael Neuling [this message]
2007-11-04 12:11 ` Michael Neuling
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=30600.1194178287@neuling.org \
--to=mikey@neuling.org \
--cc=a.p.zijlstra@chello.nl \
--cc=balbir@linux.vnet.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=mingo@elte.hu \
--cc=paulus@samba.org \
--cc=schwidefsky@de.ibm.com \
--cc=tglx@linutronix.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.