[Devel] Re: [PATCH 0/6] SUNRPC: make RPC clients use network-namespace-aware PipeFS routines

2011-11-24 Thread Stanislav Kinsbursky
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) "

[Devel] [PATCH 0/4] cpuacct cleanup

2011-11-24 Thread Glauber Costa
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

[Devel] [PATCH 2/4] Reuse cgroup's parent pointer

2011-11-24 Thread Glauber Costa
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

[Devel] [PATCH 1/4] Change cpustat fields to an array.

2011-11-24 Thread Glauber Costa
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

[Devel] [PATCH 3/4] Move part of cpuacct code

2011-11-24 Thread Glauber Costa
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 +

[Devel] [PATCH 4/4] cpuacct.stat: re-use scheduler statistics for the root cgroup

2011-11-24 Thread Glauber Costa
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

[Devel] Re: [PATCH 2/4] Reuse cgroup's parent pointer

2011-11-24 Thread KAMEZAWA Hiroyuki
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-

[Devel] Re: [PATCH 1/4] Change cpustat fields to an array.

2011-11-24 Thread KAMEZAWA Hiroyuki
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

[Devel] Re: [PATCH 4/4] cpuacct.stat: re-use scheduler statistics for the root cgroup

2011-11-24 Thread KAMEZAWA Hiroyuki
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