git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] tty: lock ticogwinsz
[pandora-kernel.git]
/
mm
/
mmap.c
diff --git
a/mm/mmap.c
b/mm/mmap.c
index
8507ee9
..
eea8eef
100644
(file)
--- a/
mm/mmap.c
+++ b/
mm/mmap.c
@@
-116,7
+116,7
@@
int __vm_enough_memory(long pages, int cap_sys_admin)
* which are reclaimable, under pressure. The dentry
* cache and most inode caches should fall into this
*/
- free +=
atomic_read(&slab_reclaim_pages
);
+ free +=
global_page_state(NR_SLAB_RECLAIMABLE
);
/*
* Leave the last 3% for root