Re: [RFC] mm: use folio_expected_ref_count() helper for reference counting

From
Matthew Wilcox <willy@infradead.org>
Date
2025-06-09 19:21:40
Also in
linux-mm, linux-perf-users, lkml
Reply to
Shivank Garg, 2025-06-09
On Mon, Jun 09, 2025 at 05:08:07PM +0000, Shivank Garg wrote:
Replace open-coded folio reference count calculations with the
folio_expected_ref_count() helper to improve code maintainability
and reduce duplication.
If it needs this much additional commentary, perhaps it's not actually
clearer?
Thread (11 messages) 11 messages, 5 authors, last reply 2025-06-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help