Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / drivers / xen / xen-selfballoon.c
index 7d041cb6da2662fada88101835b94d1aed63b9bc..2552d3e0a70f2759597c54b8218e17248412337c 100644 (file)
@@ -222,7 +222,7 @@ static void selfballoon_process(struct work_struct *work)
        if (xen_selfballooning_enabled) {
                cur_pages = totalram_pages;
                tgt_pages = cur_pages; /* default is no change */
-               goal_pages = percpu_counter_read_positive(&vm_committed_as) +
+               goal_pages = vm_memory_committed() +
                                totalreserve_pages +
                                MB2PAGES(selfballoon_reserved_mb);
 #ifdef CONFIG_FRONTSWAP
This page took 0.023178 seconds and 5 git commands to generate.