X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=mm%2Futil.c;h=9ecddf568fe30e5cf1fba6db8eda3b7abe96d379;hp=7b07ec852e01fa931b2b302e8df5cff9f17f62d6;hb=d507e2ebd2c7be9138e5cf5c0cb1931c90c42ab1;hpb=739b000994b7c813e4cac56c077abd8f6b0ccaab diff --git a/mm/util.c b/mm/util.c index 7b07ec852e01..9ecddf568fe3 100644 --- a/mm/util.c +++ b/mm/util.c @@ -633,7 +633,7 @@ int __vm_enough_memory(struct mm_struct *mm, long pages, int cap_sys_admin) * which are reclaimable, under pressure. The dentry * cache and most inode caches should fall into this */ - free += global_page_state(NR_SLAB_RECLAIMABLE); + free += global_node_page_state(NR_SLAB_RECLAIMABLE); /* * Leave reserved pages. The pages are not for anonymous pages.