From: Andrew Morton <akpm@linux-foundation.org>
To: Michael Neuling <mikey@neuling.org>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@ozlabs.org, paulus@samba.org, linux390@de.ibm.com,
balbir@linux.vnet.ibm.com
Subject: Re: [PATCH] taskstats scaled time cleanup
Date: Wed, 24 Oct 2007 16:33:05 -0700 [thread overview]
Message-ID: <20071024163305.14b9bfba.akpm@linux-foundation.org> (raw)
In-Reply-To: <8789.1193208897@neuling.org>
On Wed, 24 Oct 2007 16:54:57 +1000
Michael Neuling <mikey@neuling.org> wrote:
> +/* Estimate the scaled cputime by scaling the real cputime based on
> + * the last scaled to real ratio */
> +static inline cputime_t cputime_to_scaled(const cputime_t ct)
> +{
> + if (cpu_has_feature(CPU_FTR_SPURR) &&
> + per_cpu(cputime_last_delta, smp_processor_id()))
> + return ct *
> + per_cpu(cputime_scaled_last_delta, smp_processor_id())/
> + per_cpu(cputime_last_delta, smp_processor_id());
> + return ct;
> +}
This looks far too large to be inlined.
prev parent reply other threads:[~2007-10-24 23:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-24 6:54 [PATCH] taskstats scaled time cleanup Michael Neuling
2007-10-24 9:52 ` Balbir Singh
2007-10-24 23:33 ` Andrew Morton [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=20071024163305.14b9bfba.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=balbir@linux.vnet.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux390@de.ibm.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mikey@neuling.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).