Andi Kleen wrote: >>I don't see any good way around that. For the page struct it is a >>material issue, for the others its not a big deal providing we avoid >>accounting dumb stuff like dentries. >> >>At the VM summit Linus suggested one option for user page allocation >>tracking would be to track not per page but by block of pages (say the >>2MB chunks) and hand those out per container. That would really need the >>defrag work though. > > > One could always use a second set of arrays, mirroring mem_map which one do you prefer: - having a pointer on the struct page? kernels without resource accounting won't have this.
- having a mirroring mem_map? on i686 it is easy, but not sure about sparse mem or numa configurations. advantage: run-time configurable on boot time. disadvantage: much lower performance with accounting. - address_space/anon_vma can be replaced with some kind of proxy object with 2 pointers - address_space and ub. however I don't see how it is better then a single ptr on page. Thanks, Kirill ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech