On Wed, 22 Jun 2022 06:47:13 +0000 cgel.zte@xxxxxxxxx wrote: > From: Yang Yang <yang.yang29@xxxxxxxxxx> > > Not all the systems use swap, so estimating available memory would > help to prevent swapping or OOM of system that not use swap. > > And we need to reserve some page cache to prevent swapping or > thrashing. If somebody is accessing the pages in pagecache, > and if too much would be freed, most accesses might mean > reading data from disk, i.e. thrashing. > > Signed-off-by: Yang Yang <yang.yang29@xxxxxxxxxx> This should include your signoff, as described in Documentation/process/submitting-patches.rst. And we'd like a full name for that signoff please, not simply a bare email address.