login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
August
»
19
Re: [PATCH 1/2] Add scaled time to taskstats based process accounting
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Michael Neuling <mikey@...>
To: <balbir@...>
Cc: Andrew Morton <akpm@...>, Jay Lan <jlan@...>, <Benjamin@...>, <linux-kernel@...>, <linuxppc-dev@...>, Paul Mackerras <paulus@...>
Subject:
Re: [PATCH 1/2] Add scaled time to taskstats based process accounting
Date: Sunday, August 19, 2007 - 9:12 am
In message <46C805B0.1000300@linux.vnet.ibm.com> you wrote:
quoted text
> Andrew Morton wrote: > >> > >> unsigned int rt_priority; > >> - cputime_t utime, stime; > >> + cputime_t utime, stime, utimescaled, stimescaled; > > > > Adding 8 or 16 bytes to the task_struct for all architectures for something > > which only powerpc uses? > > > > Is there any prospect that other CPUs can use this? > > > > Hi, Andrew, > > There is definitely the prospect for other architectures to use this > feature > > x86 provides the APERF and MPERF model specific registers. > The ratio of APERF to MPERF gives the current scaled load on the > system (acpi-cpufreq, get_measured_perf()) I have been looking at > exploiting this functionality for x-series, but ran into a problem; > as per the specification, APERF and MPERF are to be reset to 0 > upon reading them. As a result, I am still figuring out a good > way to share the data amongst the ondemand governor and utimescaled > statistics. > > I think for now, we can > > 1. Put utimescaled and stimescaled under an #ifdef for ARCH_POWERPC
... or even #ifdef TASKSTATS
quoted text
> 2. Add utimescaled and stimescaled and add a big fat comment stating > that work for other architectures is on it's way. > > In either case, I think the functionality is useful and can be > exploited by other architectures. The powerpc port is complete and > I think the implementation would provide a good reference for > other implementations to follow. > > -- > Warm Regards, > Balbir Singh > Linux Technology Center > IBM, ISTL >
-
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/2] Add scaled time to taskstats based process accou...
, Michael Neuling
, (Thu Aug 16, 3:09 am)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Linas Vepstas
, (Thu Aug 16, 12:38 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Paul Mackerras
, (Thu Aug 16, 6:22 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Linas Vepstas
, (Fri Aug 17, 1:10 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Balbir Singh
, (Thu Aug 16, 3:26 am)
[PATCH 1/2] Add scaled time to taskstats based process accou...
, Michael Neuling
, (Thu Aug 16, 9:09 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Andrew Morton
, (Fri Aug 17, 2:59 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Balbir Singh
, (Sun Aug 19, 4:56 am)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Michael Neuling
, (Sun Aug 19, 9:12 am)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Balbir Singh
, (Fri Aug 17, 3:08 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Michael Neuling
, (Thu Aug 16, 8:23 pm)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Balbir Singh
, (Fri Aug 17, 12:47 am)
Re: [PATCH 1/2] Add scaled time to taskstats based process a...
, Michael Neuling
, (Fri Aug 17, 12:56 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Greg KH
[GIT PATCH] driver core patches against 2.6.24
S.Çağlar
Rescheduling interrupts
holzheu
[RFC/PATCH] Documentation of kernel messages
git
:
Sander
'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Herbert Xu
Re: xfrm_state locking regression...
Corey Minyard
[PATCH 3/3] Convert the UDP hash lock to RCU
Colocation donated by:
Who's online
There are currently
0 users
and
623 guests
online.
Syndicate