projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sh: Add flag for MMU PTEA capability.
[powerpc.git]
/
mm
/
nommu.c
diff --git
a/mm/nommu.c
b/mm/nommu.c
index
c576df7
..
d99dea3
100644
(file)
--- a/
mm/nommu.c
+++ b/
mm/nommu.c
@@
-1133,7
+1133,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
*/
* 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
/*
* Leave the last 3% for root