Re: [PATCH v9 11/17] mm: replace vm_lock and detached flag with a reference count

Vlastimil Babka
2025-01-11T20:38:57Z

On 1/11/25 21:14, Suren Baghdasaryan wrote:
> I plan on replacing refcount_t usage here with an atomic since, as
> Hillf noted, refcount is not designed to be used for locking. And will
> make sure the down_read_trylock() replacement will provide an acquire
> fence.

Could Hillf stop reducing the Cc list on his replies? The whole subthread
went to only few people :(