Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hakavlad/change-max-reclaim-retries

Replace MAX_RECLAIM_RETRIES by vm.max_reclaim_retries
https://github.com/hakavlad/change-max-reclaim-retries

kernel linux patch

Last synced: 22 days ago
JSON representation

Replace MAX_RECLAIM_RETRIES by vm.max_reclaim_retries

Awesome Lists containing this project

README

        

# Replace MAX_RECLAIM_RETRIES by vm.max_reclaim_retries

This patch replaces `MAX_RECLAIM_RETRIES` in `mm/internal.h` by a new
sysctl knob `vm.max_reclaim_retries`.

This patch may be correctly applied (at least) to Linux 5.4—5.12-rc2.

Default `vm.max_reclaim_retries` value can be changed via `CONFIG_MAX_RECLAIM_RETRIES`.

There are two versions with different default values:
- `Change_max_reclaim_retries_16_5.10.patch` provides `vm.max_reclaim_retries` with default value 16;
- `Change_max_reclaim_retries_0_5.10.patch` provides `vm.max_reclaim_retries` with default value 0.