[PATCH 4/5] erofs: add manual PSI accounting for the compressed address space
Johannes Weiner
hannes at cmpxchg.org
Wed Sep 14 21:47:40 AEST 2022
On Sat, Sep 10, 2022 at 08:50:57AM +0200, Christoph Hellwig wrote:
> erofs uses an additional address space for compressed data read from disk
> in addition to the one directly associated with the inode. Reading into
> the lower address space is open coded using add_to_page_cache_lru instead
> of using the filemap.c helper for page allocation micro-optimizations,
> which means it is not covered by the MM PSI annotations for ->read_folio
> and ->readahead, so add manual ones instead.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
Acked-by: Johannes Weiner <hannes at cmpxchg.org>
More information about the Linux-erofs
mailing list