light: bump min_free_kbytes

This commit is contained in:
Thomas Schoebel-Theuer 2013-01-09 11:12:27 +01:00
parent fb964fcc75
commit f447ebea58
1 changed files with 6 additions and 0 deletions

View File

@ -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