On Sun, Jul 13, 2008 at 11:28 PM, Daisuke Nishimura <[EMAIL PROTECTED]> wrote: > > - I think page reclaiming code decreases the memory charge > without holding mmap_sem(e.g. try_to_unmap(), __remove_mapping()). > Shouldn't we handle these cases?
The prepare_attach_nosleep() call could take the res_counter's spinlock, which would lock out all other charges and uncharges until the transaction was completed; that might be enough for what you want. We'd need to export lock/unlock functions from res_counter. Paul _______________________________________________ Containers mailing list [EMAIL PROTECTED] https://lists.linux-foundation.org/mailman/listinfo/containers _______________________________________________ Devel mailing list [email protected] https://openvz.org/mailman/listinfo/devel
