On Thu, Mar 13, 2014 at 12:14 PM, Linus Torvalds
<torva...@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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to