diff options
author | Marco Navarra <fromenglish@gmail.com> | 2011-12-22 07:28:23 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-22 16:33:57 -0500 |
commit | 3bf5d65f4324510231cf33e5d75654f4fb1d1892 (patch) | |
tree | e4a55ae812315f36f5c86420db2407307a52bba9 /drivers/staging | |
parent | 29b858471b266be7e56b69cfcee7ba94d9427dd3 (diff) |
Staging: android: fixed 80 characters warnings in lowmemorykiller.c
This patch fixes some 80 chatacters limit warnings in the lowmemorykiller.c file
Signed-off-by: Marco Navarra <fromenglish@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/android/lowmemorykiller.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c index 4098bbb5a0c..2d8d2b79610 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c | |||
@@ -7,10 +7,10 @@ | |||
7 | * files take a comma separated list of numbers in ascending order. | 7 | * files take a comma separated list of numbers in ascending order. |
8 | * | 8 | * |
9 | * For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and | 9 | * For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and |
10 | * "1024,4096" to /sys/module/lowmemorykiller/parameters/minfree to kill processes | 10 | * "1024,4096" to /sys/module/lowmemorykiller/parameters/minfree to kill |
11 | * with a oom_adj value of 8 or higher when the free memory drops below 4096 pages | 11 | * processes with a oom_adj value of 8 or higher when the free memory drops |
12 | * and kill processes with a oom_adj value of 0 or higher when the free memory | 12 | * below 4096 pages and kill processes with a oom_adj value of 0 or higher |
13 | * drops below 1024 pages. | 13 | * when the free memory drops below 1024 pages. |
14 | * | 14 | * |
15 | * The driver considers memory used for caches to be free, but if a large | 15 | * The driver considers memory used for caches to be free, but if a large |
16 | * percentage of the cached memory is locked this can be very inaccurate | 16 | * percentage of the cached memory is locked this can be very inaccurate |
@@ -119,8 +119,8 @@ static int lowmem_shrink(struct shrinker *s, struct shrink_control *sc) | |||
119 | } | 119 | } |
120 | if (sc->nr_to_scan > 0) | 120 | if (sc->nr_to_scan > 0) |
121 | lowmem_print(3, "lowmem_shrink %lu, %x, ofree %d %d, ma %d\n", | 121 | lowmem_print(3, "lowmem_shrink %lu, %x, ofree %d %d, ma %d\n", |
122 | sc->nr_to_scan, sc->gfp_mask, other_free, other_file, | 122 | sc->nr_to_scan, sc->gfp_mask, other_free, |
123 | min_adj); | 123 | other_file, min_adj); |
124 | rem = global_page_state(NR_ACTIVE_ANON) + | 124 | rem = global_page_state(NR_ACTIVE_ANON) + |
125 | global_page_state(NR_ACTIVE_FILE) + | 125 | global_page_state(NR_ACTIVE_FILE) + |
126 | global_page_state(NR_INACTIVE_ANON) + | 126 | global_page_state(NR_INACTIVE_ANON) + |