Re: [PATCH v5 4/4] mm: Introduce per-thpsize swapin control policy

From: Chuanhua Han
Date: Mon Jul 29 2024 - 22:33:38 EST


Christoph Hellwig <hch@xxxxxxxxxxxxx> 于2024年7月30日周二 00:11写道:
>
> On Mon, Jul 29, 2024 at 04:52:30AM +0100, Matthew Wilcox wrote:
> > I strongly disagree. Use the same sysctl as the other anonymous memory
> > allocations.
>
> I agree with Matthew here.
>
> We also really need to stop optimizing for this weird zram case and move
> people to zswap instead after fixing the various issues. A special
> block device that isn't really a block device and needs various special
> hooks isn't the right abstraction for different zwap strategies.
I disagree, zram is most popular in embedded systems (like Android).
>
>


--
Thanks,
Chuanhua