Pavel Emelianov wrote: >Nick Piggin wrote: > >>Kirill Korotaev wrote: >> >> >>>Introduce calls to BC core over the kernel to charge locked memory. >>> >>>Normaly new locked piece of memory may appear in insert_vm_struct, >>>but there are places (do_mmap_pgoff, dup_mmap etc) when new vma >>>is not inserted by insert_vm_struct(), but either link_vma-ed or >>>merged with some other - these places call BC code explicitly. >>> >>>Plus sys_mlock[all] itself has to be patched to charge/uncharge >>>needed amount of pages. >>> >> >>I still haven't heard your good reasons why such a complex scheme is >>required when my really simple proposal of unconditionally charging >>the page to the container it was allocated by. >> >Charging the page to the container it was allocated in is a possible and >correct way, we agree, but how does this comment refer to locked pages >
If it is a possible and correct way, I'd must rather see *that* way get tried first, and then made more complex or discarded if it is found to be insufficient. >accounting? > That's where I'd looked at enough mm/ stuff to decide that it wasn't just my usual unjustified whining. Complexity of this approach is quite... high. Sorry if that wasn't clear. -- Send instant messages to your online friends http://au.messenger.yahoo.com ------------------------------------------------------------------------- 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