diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-10-01 10:07:32 +0000 |
commit | 5a3991bd1a491d6fca3273c1ef72b54cdfd0661d (patch) | |
tree | 8156c94dfbaf686c6f4d07abf0a898ddc3c3d51c /target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch | |
parent | 2b43a77babbe2071df374f67799679bce8216904 (diff) | |
download | upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.tar.gz upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.tar.bz2 upstream-5a3991bd1a491d6fca3273c1ef72b54cdfd0661d.zip |
kernel: upgrade to 2.6.30.8 and refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17804 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch')
-rw-r--r-- | target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch b/target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch index 0a8e83a828..605e723187 100644 --- a/target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch +++ b/target/linux/goldfish/patches-2.6.30/0053-lowmemorykiller-Don-t-count-free-space-unless-it-me.patch @@ -14,11 +14,9 @@ Signed-off-by: Arve Hjønnevåg <arve@android.com> drivers/staging/android/lowmemorykiller.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) -diff --git a/drivers/staging/android/lowmemorykiller.c b/drivers/staging/android/lowmemorykiller.c -index b9a2e84..b2ab7fa 100644 --- a/drivers/staging/android/lowmemorykiller.c +++ b/drivers/staging/android/lowmemorykiller.c -@@ -58,20 +58,25 @@ static int lowmem_shrink(int nr_to_scan, gfp_t gfp_mask) +@@ -58,20 +58,25 @@ static int lowmem_shrink(int nr_to_scan, int min_adj = OOM_ADJUST_MAX + 1; int selected_tasksize = 0; int array_size = ARRAY_SIZE(lowmem_adj); @@ -48,6 +46,3 @@ index b9a2e84..b2ab7fa 100644 if (nr_to_scan <= 0 || min_adj == OOM_ADJUST_MAX + 1) { lowmem_print(5, "lowmem_shrink %d, %x, return %d\n", nr_to_scan, gfp_mask, rem); return rem; --- -1.6.2 - |