On 2024/1/30 11:19, Johannes Weiner wrote: > On Tue, Jan 30, 2024 at 11:13:16AM +0800, Chengming Zhou wrote: >> On 2024/1/30 09:36, Johannes Weiner wrote: >>> There is a zswap_entry_ namespace with multiple functions already. >> >> Another is zswap_invalidate_entry(), maybe zswap_entry_invalidate is better. > > You're right. > > I originally had a patch for that, but then dropped it because it is > sort of also a tree operation and it looked a bit weird to me. Right. > > But I could be persuaded to include it again, no strong preferences > either way. Never mind.