23.11.2011 20:27, J. Bruce Fields пишет:
On Wed, Nov 23, 2011 at 02:51:10PM +0300, Stanislav Kinsbursky wrote:
This patch set was created in context of clone of git
branch: git://git.linux-nfs.org/projects/trondmy/nfs-2.6.git.
tag: v3.1
This patch set depends on previous patch sets titled:
1) "
Hi,
Leaving aside all the hierarchy walk discussion, I tried to come up
with a series that concentrates only the basic points of it all.
I think we benefit from having it independently of the rest of the work:
in general (comments on the specifics welcome) cpuacct is made more naturally
integrated
We already have a pointer to the cgroup parent (whose data is more likely
to be in the cache than this, anyway), so there is no need to have this one
in cpuacct.
This patch makes the underlying cgroup be used instead.
Signed-off-by: Glauber Costa
CC: Paul Tuner
CC: Peter Zijlstra
---
kernel/s
This patch changes fields in cpustat from a structure, to an
u64 array. Math gets easier, and the code is more flexible.
Signed-off-by: Glauber Costa
CC: Paul Tuner
CC: Peter Zijlstra
---
arch/s390/appldata/appldata_os.c | 16 +++---
arch/x86/include/asm/i387.h|2 +-
dr
This patch is just a preparation patch for the next one in the series.
It moves the cpuacct structure definition and some helper functions early
in the file so we can access its members from here on.
Signed-off-by: Glauber Costa
CC: Paul Tuner
CC: Peter Zijlstra
---
kernel/sched.c | 77 +
Right now, after we collect tick statistics for user and system and store them
in a well known location, we keep the same statistics again for cpuacct.
Since cpuacct is hierarchical, the numbers for the root cgroup should be
absolutely equal to the system-wide numbers.
So it would be better to jus
On Thu, 24 Nov 2011 23:33:24 -0200
Glauber Costa wrote:
> We already have a pointer to the cgroup parent (whose data is more likely
> to be in the cache than this, anyway), so there is no need to have this one
> in cpuacct.
>
> This patch makes the underlying cgroup be used instead.
>
> Signed-
On Thu, 24 Nov 2011 23:33:23 -0200
Glauber Costa wrote:
> This patch changes fields in cpustat from a structure, to an
> u64 array. Math gets easier, and the code is more flexible.
>
> Signed-off-by: Glauber Costa
> CC: Paul Tuner
> CC: Peter Zijlstra
I like this change.
Reivewed-by: KAMEZAW
On Thu, 24 Nov 2011 23:33:26 -0200
Glauber Costa wrote:
> Right now, after we collect tick statistics for user and system and store them
> in a well known location, we keep the same statistics again for cpuacct.
> Since cpuacct is hierarchical, the numbers for the root cgroup should be
> absolute