Messages in this thread | | | Date | Mon, 17 Mar 2008 10:47:19 +0900 | From | Li Zefan <> | Subject | Re: [RFC][0/3] Virtual address space control for cgroups |
| |
Paul Menage wrote: > On Mon, Mar 17, 2008 at 1:29 AM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote: >> This is an early patchset for virtual address space control for cgroups. >> The patches are against 2.6.25-rc5-mm1 and have been tested on top of >> User Mode Linux. > > What's the performance hit of doing these accounting checks on every > mmap/munmap? If it's not totally lost in the noise, couldn't it be > made a separate control group, so that it could be just enabled (and > the performance hit taken) for users that actually want it? >
It will be code duplication to make it a new subsystem, and it will be useful to control both of them, am I right? :)
So could we just add a CONFIG to this patch series, like: CONFIG_CGROUP_MEM_RES_AS_CTLR ?
> Paul > >
| |