search for: balloon_alarm

Displaying 2 results from an estimated 2 matches for "balloon_alarm".

2011 Feb 03
0
[PATCH R3 4/7] xen/balloon: Migration from mod_timer() to schedule_delayed_work()
...hen ballooning out (allocating memory to return to Xen) we don''t really want the kernel to try too hard since that can trigger the oom killer. */ @@ -172,11 +171,6 @@ static struct page *balloon_next_page(struct page *page) return list_entry(next, struct page, lru); } -static void balloon_alarm(unsigned long unused) -{ - schedule_work(&balloon_worker); -} - static unsigned long current_target(void) { unsigned long target = balloon_stats.target_pages; @@ -333,7 +327,7 @@ static void balloon_process(struct work_struct *work) /* Schedule more work if there is some still to be don...
2010 Aug 12
13
[PATCH] GSoC 2010 - Memory hotplug support for Xen guests - third fully working version
...RY_PROBE - def_bool X86_64 && !XEN + def_bool X86_64 depends on MEMORY_HOTPLUG config ILLEGAL_POINTER_VALUE diff --git a/drivers/xen/balloon.c b/drivers/xen/balloon.c index 31edc26..5120075 100644 --- a/drivers/xen/balloon.c +++ b/drivers/xen/balloon.c @@ -193,63 +193,11 @@ static void balloon_alarm(unsigned long unused) } #ifdef CONFIG_XEN_BALLOON_MEMORY_HOTPLUG -static inline unsigned long current_target(void) -{ - return balloon_stats.target_pages; -} - static inline u64 is_memory_resource_reserved(void) { return balloon_stats.hotplug_start_paddr; } -/* we are OK calling __memini...