On Wed, Jun 19, 2019 at 08:34:19AM -0700, Sean Christopherson wrote: > > Sent another similar change just now for the page adder. Can you > > check that so I can merge. > > > > I have a change in progress that will make the reclaimer also the > > reaper and remove the need for the refcount altogether. Try to > > get it possibly tonight out (i.e. daytime for you). > > I'm about to disappear on vacation for two weeks, can you post whatever > you have, even if it's half baked? > > I have a working patch to use mmu_notifier.release() instead of per-vma > refcounting, I'll post an RFC today. It'd be nice to have both approaches > posted so that folks can weigh in on the options for dropping .vm_close(). I peeked your patch and it deals with the encl_mm->refcount. My changes deal with the encl->refcount (consolidating the driver to only use file's refcount). /Jarkko