Re: [PATCH v2 0/6] tmpfs: add the option to disable swap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 2023/3/20 上午4:32, Luis Chamberlain 写道:
On Tue, Mar 14, 2023 at 10:46:28AM +0800, haoxin wrote:
All these series looks good to me and i do some test on my virtual machine
it works well.

so please add Tested-by: Xin Hao <xhao@xxxxxxxxxxxxxxxxx> .

just one question, if tmpfs pagecache occupies a large amount of memory, how
can we ensure successful memory reclamation in case of memory shortage?
If you're disabling swap then you know the only thing you can do is
unmount if you want to help the VM, otherwise the pressure is just
greater for the VM.

Un, what i mean is can we add a priority so that this type of pagecache is reclaimed last ?

Instead of just setting the parameter noswap to make it unreclaimed, because if such pagecache which

occupy big part of memory which can not be reclaimed, it will cause OOM.



  Luis

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux