-----Original Message-----
Same comment as above - Cgroup masks can always overlap and other cgroups
can allocate the same cache , and hence wont have exclusive cache allocation.
[Auld, Will] You can define all the cbm to provide one clos with an exclusive area
So natuarally the cgroup with tasks would get to use the cache if it has the same
mask (say representing 50% of cache in your example) as others .
[Auld, Will] automatic adjustment of the cbm make me nervous. There are times
when we want to limit the cache for a process independent of whether there is
lots of unused cache.
--
(assume there are 8 bits max cbm)
cgroupa - mask - 0xf
cgroupb - mask - 0xf . Now if cgroupa has no tasks , cgroupb naturally gets all
the cache.
Thanks,
Vikas