Staging: android: lowmemorykiller: delete the decription file
Move the lowmemorykiller.txt into the actual source file which is really the correct place for it, and delete lowmemorykiller.txt. Signed-off-by: Daniel Walker <dwalker@fifo99.com> Cc: Arve Hjønnevåg <arve@android.com> Cc: Brian Swetland <swetland@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
edd540ea92
commit
272bb3d875
@@ -1,4 +1,20 @@
|
|||||||
/* drivers/misc/lowmemorykiller.c
|
/* drivers/misc/lowmemorykiller.c
|
||||||
|
*
|
||||||
|
* 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.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2008 Google, Inc.
|
* Copyright (C) 2007-2008 Google, Inc.
|
||||||
*
|
*
|
||||||
|
@@ -1,16 +0,0 @@
|
|||||||
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.
|
|
||||||
|
|
Reference in New Issue
Block a user