From f447ebea5839af5c452453d16c73af1d6a1e618e Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 9 Jan 2013 11:12:27 +0100 Subject: [PATCH] light: bump min_free_kbytes --- sy_old/mars_light.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sy_old/mars_light.c b/sy_old/mars_light.c index 9e403447..f3f7ce3a 100644 --- a/sy_old/mars_light.c +++ b/sy_old/mars_light.c @@ -4129,8 +4129,14 @@ EXPORT_SYMBOL_GPL(global_free_space); static int __init init_light(void) { + extern int min_free_kbytes; + int new_limit = 4096; int status = 0; + // bump the min_free limit + if (min_free_kbytes < new_limit) + min_free_kbytes = new_limit; + init_say(); // this must come first #ifdef CONFIG_MARS_HAVE_BIGMODULE