| From | Nhat Pham <> | Date | Tue, 30 Jan 2024 08:50:42 -0800 | Subject | Re: [PATCH 09/20] mm: zswap: simplify zswap_invalidate() |
| |
On Mon, Jan 29, 2024 at 5:42 PM Johannes Weiner <hannes@cmpxchg.org> wrote: > > The branching is awkward and duplicates code. The comment about > writeback is also misleading: yes, the entry might have been written > back. Or it might have never been stored in zswap to begin with due to > a rejection - zswap_invalidate() is called on all exiting swap entries. > > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Nhat Pham <nphamcs@gmail.com>
|