Messages in this thread | | | Date | Fri, 22 Oct 2021 22:14:15 +0800 | Subject | Re: [PATCH] erofs: get rid of ->lru usage | From | Chao Yu <> |
| |
On 2021/10/22 17:01, Gao Xiang wrote: > Currently, ->lru is a way to arrange non-LRU pages and has some > in-kernel users. In order to minimize noticable issues of page > reclaim and cache thrashing under high memory presure, limited > temporary pages were all chained with ->lru and can be reused > during the request. However, it seems that ->lru could be removed > when folio is landing. > > Let's use page->private to chain temporary pages for now instead > and transform EROFS formally after the topic of the folio / file > page design is finalized. > > Cc: Matthew Wilcox <willy@infradead.org> > Cc: Kent Overstreet <kent.overstreet@gmail.com> > Cc: Chao Yu <chao@kernel.org> > Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Thanks,
| |