projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'x86-boot-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git]
/
drivers
/
xen
/
xen-selfballoon.c
diff --git
a/drivers/xen/xen-selfballoon.c
b/drivers/xen/xen-selfballoon.c
index 7d041cb6da2662fada88101835b94d1aed63b9bc..2552d3e0a70f2759597c54b8218e17248412337c 100644
(file)
--- a/
drivers/xen/xen-selfballoon.c
+++ b/
drivers/xen/xen-selfballoon.c
@@
-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 */
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
totalreserve_pages +
MB2PAGES(selfballoon_reserved_mb);
#ifdef CONFIG_FRONTSWAP
This page took
0.023817 seconds
and
5
git commands to generate.