Re: [PATCH v6 05/11] mm: Add fast_only bool to test_young and clear_young MMU notifiers

From: David Hildenbrand
Date: Thu Aug 01 2024 - 05:36:32 EST


On 24.07.24 03:10, James Houghton wrote:
For implementers, the fast_only bool indicates that the age information
needs to be harvested such that we do not slow down other MMU operations,
and ideally that we are not ourselves slowed down by other MMU
operations. Usually this means that the implementation should be
lockless.

But what are the semantics if "fast_only" cannot be achieved by the implementer?

Can we add some documentation to the new functions that explain what this mysterious "fast_only" is and what the expected semantics are? Please? :)

--
Cheers,

David / dhildenb