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

Linus Torvalds
2013-11-01T18:09:19Z

On Fri, Nov 1, 2013 at 10:49 AM, Davidlohr Bueso <davidlohr@hp.com> wrote:
>
> 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

No, none of the invalidate_page users really need to sleep. If doing
this makes some people not do stupid sh*t, then that's all good. So at
least _that_ worry was a false alarm. We definitely don't want to
support crap in the VM, and sleeping during teardown is crap.

Linus