Messages in this thread | | | Date | Thu, 13 Mar 2014 19:27:02 +0100 | From | Oleg Nesterov <> | Subject | async_pf.c && use_mm() (Was: mm,vmacache: also flush cache for VM_CLONE) |
| |
On 03/13, Oleg Nesterov wrote: > > Hmm, but at first glance async_pf_execute() doesn't need use_mm() at all.
Seriously, why it nees use_mm? get_user_pages(mm => apf->mm) should work. Perhaps there is some kvm magic ?
But actually I am writing this email because mmdrop() doesn't look right or I missed something. I think that kvm_setup_async_pf() should increment ->mm_users and async_pf_execute() needs mmput() ?
Oleg.
| |