X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=mm%2Fnommu.c;h=d99dea31e443f2505ce97b967c69681f2ae1e359;hb=749cf486920bf53f16e6a6889d9635a91ffb6c82;hp=c576df71e3bbd1b3f0527bb69b8d778daf20af9b;hpb=d6c93e1ddde769010f9c81bbfab41a9844c0e9ba;p=powerpc.git diff --git a/mm/nommu.c b/mm/nommu.c index c576df71e3..d99dea31e4 100644 --- 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 */ - free += atomic_read(&slab_reclaim_pages); + free += global_page_state(NR_SLAB_RECLAIMABLE); /* * Leave the last 3% for root