Skip to contentSkip to conversation

linux balloon question

DISCUSSION Jan Beulich 1 participant 1 message Dec 19, 2008

lore
Share & tools
lore
#0 lore raw

What is the point of having separate bs.current_pages and totalram_pages? The latter (in current code) always tracks the former. Further, what's the point of re-initializing totalram_pages during balloon_init() in pv guests? If the bogus incrementing of the value in mem_init() gets removed, things would match native without that re-initialization, and the current_pages member could entirely go away.

Thanks, Jan