]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen: short-cut for recursive event handling
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 17 Mar 2008 23:37:20 +0000 (16:37 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Apr 2008 21:57:32 +0000 (23:57 +0200)
commit229664bee6126e01f8662976a5fe2e79813b77c8
tree1e7d2fc69bae4a941952c00fa20f5746d07c0256
parentee8fa1c67f0b873a324960f0ca9fa1d7e49aa86b
xen: short-cut for recursive event handling

If an event comes in while events are currently being processed, then
just increment the counter and have the outer event loop reprocess the
pending events.  This prevents unbounded recursion on heavy event
loads (of course massive event storms will cause infinite loops).

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/xen/events.c