Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock torwlock_t

From: Davidlohr Bueso
Date: Fri Nov 01 2013 - 13:49:54 EST


On Fri, 2013-11-01 at 09:01 +0100, Ingo Molnar wrote:
> * Yuanhan Liu <yuanhan.liu@xxxxxxxxxxxxxxx> wrote:
>
> > Patch 1 turns locking the anon_vma's root to locking itself to let it be
> > a per anon_vma lock, which would reduce contentions.
> >
> > In the same time, lock range becomes quite small then, which is bascially
> > a call of anon_vma_interval_tree_insert(). Patch 2 turn rwsem to rwlock_t.
> > It's a patch made from Ingo, I just made some change to let it apply based on
> > patch 1.

Andrea's last input from this kind of conversion is that it cannot be
done (at least yet): https://lkml.org/lkml/2013/9/30/53

Thanks,
Davidlohr

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/