Re: [PATCH v9 11/17] mm: replace vm_lock and detached flag with a reference count
From: Vlastimil Babka
Date: Sat Jan 11 2025 - 15:39:06 EST
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 :(