Commit c4bae9d4 authored by T.J. Mercier's avatar T.J. Mercier
Browse files

Reapply "BACKPORT: mm: add swappiness= arg to memory.reclaim"



This reverts commit 20320a82 with a fix
for the following build error with !CONFIG_MEMCG:

mm/vmscan.c:3178:19: error: call to undeclared function 'sc_swappiness'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 3178 |         int swappiness = sc_swappiness(sc, memcg);
      |                          ^
mm/vmscan.c:3468:15: error: call to undeclared function 'sc_swappiness'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 3468 |         swappiness = sc_swappiness(sc, memcg);

Bug: 438346788
Bug: 377479218
Change-Id: Ib207de690bff7c57c3c35155f6cfb94442dba15d
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent 20320a82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment