Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hakavlad/change-max-reclaim-retries
- Owner: hakavlad
- License: cc0-1.0
- Created: 2021-03-04T11:46:42.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-07T15:05:40.000Z (almost 4 years ago)
- Last Synced: 2024-10-29T20:22:22.278Z (2 months ago)
- Topics: kernel, linux, patch
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Change_max_reclaim_retries_0_5.10.patch
- License: LICENSE
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.