| From 3bf5d65f4324510231cf33e5d75654f4fb1d1892 Mon Sep 17 00:00:00 2001 |
| From: Marco Navarra <fromenglish@gmail.com> |
| Date: Thu, 22 Dec 2011 13:28:23 +0100 |
| Subject: Staging: android: fixed 80 characters warnings in |
| lowmemorykiller.c |
| Patch-mainline: HEAD |
| Git-commit: 3bf5d65f4324510231cf33e5d75654f4fb1d1892 |
| |
| 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> |
| |
| diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c |
| index 4098bbb..2d8d2b7 100644 |
| --- a/drivers/staging/android/lowmemorykiller.c |
| +++ b/drivers/staging/android/lowmemorykiller.c |
| @@ -7,10 +7,10 @@ |
| * 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. |
| + * "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 |
| @@ -119,8 +119,8 @@ static int lowmem_shrink(struct shrinker *s, struct shrink_control *sc) |
| } |
| if (sc->nr_to_scan > 0) |
| lowmem_print(3, "lowmem_shrink %lu, %x, ofree %d %d, ma %d\n", |
| - sc->nr_to_scan, sc->gfp_mask, other_free, other_file, |
| - min_adj); |
| + sc->nr_to_scan, sc->gfp_mask, other_free, |
| + other_file, min_adj); |
| rem = global_page_state(NR_ACTIVE_ANON) + |
| global_page_state(NR_ACTIVE_FILE) + |
| global_page_state(NR_INACTIVE_ANON) + |