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

From: Davidlohr Bueso
Date: Tue Apr 02 2019 - 19:44:13 EST


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