Messages in this thread | | | Date | Thu, 13 Mar 2014 14:44:28 -0700 | Subject | Re: async_pf.c && use_mm() (Was: mm,vmacache: also flush cache for VM_CLONE) | From | Linus Torvalds <> |
| |
On Thu, Mar 13, 2014 at 12:14 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote: > Maybe it uses use_mm just to increment the usage count. Which is bogus, and > it should just "get" it instead, but whatever. > > On my phone, so I can't check the details.
Ok, no longer on my phone, and no, it clearly does the reference count with a
atomic_inc(&work->mm->mm_count);
separately. The use_mm/unuse_mm seems entirely specious.
Maybe it has some historical meaning to it.
Linus
| |