[PATCH 1/6] mm: change locked_vm's type from unsigned long to atomic64_t

Davidlohr Bueso dave at stgolabs.net
Wed Apr 3 10:43:57 AEDT 2019


On Tue, 02 Apr 2019, Andrew Morton wrote:

>Also, we didn't remove any down_write(mmap_sem)s from core code so I'm
>thinking that the benefit of removing a few mmap_sem-takings from a few
>obscure drivers (sorry ;)) is pretty small.

afaik porting the remaining incorrect users of locked_vm to pinned_vm was
the next step before this one, which made converting locked_vm to atomic
hardly worth it. Daniel?

Thanks,
Davidlohr


More information about the Linuxppc-dev mailing list