-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 130456 b: refs/heads/master c: 191805a h: refs/heads/master v: v3
- Loading branch information
Arve Hjønnevåg
authored and
Greg Kroah-Hartman
committed
Jan 28, 2009
1 parent
180118c
commit a7c293a
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 07960058f0ce77ddc3027d3e45a5de1fb977334f | ||
refs/heads/master: 191805ac41a63929003faa33365027d3fb924d71 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
The lowmemorykiller driver lets user-space specify a set of memory thresholds | ||
where processes with a range of oom_adj values will get killed. Specify the | ||
minimum oom_adj values in /sys/module/lowmemorykiller/parameters/adj and the | ||
number of free pages in /sys/module/lowmemorykiller/parameters/minfree. Both | ||
files take a comma separated list of numbers in ascending order. | ||
|
||
For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and | ||
"1024,4096" to /sys/module/lowmemorykiller/parameters/minfree to kill processes | ||
with a oom_adj value of 8 or higher when the free memory drops below 4096 pages | ||
and kill processes with a oom_adj value of 0 or higher when the free memory | ||
drops below 1024 pages. | ||
|
||
The driver considers memory used for caches to be free, but if a large | ||
percentage of the cached memory is locked this can be very inaccurate | ||
and processes may not get killed until the normal oom killer is triggered. | ||
|