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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Menage
Date: Thursday, October 4, 2007 - 8: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 ..., Paul Menage, (Thu Oct 4, 8:16 am)