Messages in this thread | | | From | Yu Zhao <> | Date | Tue, 12 Dec 2023 19:05:36 -0700 | Subject | Re: [PATCH V4 2/2] mm: add swapiness= arg to memory.reclaim |
| |
On Tue, Dec 12, 2023 at 6:39 PM Dan Schatzberg <schatzberg.dan@gmail.com> wrote: > > Allow proactive reclaimers to submit an additional swappiness=<val> > argument to memory.reclaim. This overrides the global or per-memcg > swappiness setting for that reclaim attempt. > > For example: > > echo "2M swappiness=0" > /sys/fs/cgroup/memory.reclaim > > will perform reclaim on the rootcg with a swappiness setting of 0 (no > swap) regardless of the vm.swappiness sysctl setting. > > Signed-off-by: Dan Schatzberg <schatzberg.dan@gmail.com>
NAK.
Please initialize new variables properly and test code changes thoroughly before submission.
| |