login
Header Space

 
 

Re: [PATCH 11/33] task containersv11 make cpusets a client of containers

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Jackson <pj@...>
Cc: <akpm@...>, <balbir@...>, <serue@...>, <clg@...>, <ebiederm@...>, <xemul@...>, <rientjes@...>, <svaidy@...>, <nickpiggin@...>, <a.p.zijlstra@...>, <containers@...>, <linux-kernel@...>
Date: Thursday, October 4, 2007 - 11:16 am

On 10/4/07, Paul Jackson <pj@sgi.com> wrote:

It's two constant-indexed dereferences *in total*, compared to a
single constant-indexed dereference in the pre-cgroup case.

The cpuset pointer is found at
task->cgroups->subsys[cpuset_subsys_id], where cpuset_subsys_id is a
compile-time constant.


Sounds reasonable.


I didn't notice any performance hit on a pure allocate/free memory
benchmark relative to non-cgroup cpusets. (There was a small
performance hit relative to not using cpusets at all, but that was to
be expected).

Paul
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 11/33] task containersv11 make cpusets a client o..., Paul Menage, (Thu Oct 4, 11:16 am)
speck-geostationary