linux/drivers/xen
Ian Campbell a144ff09bc xen: Avoid allocations causing swap activity on the resume path
Avoid allocations causing swap activity on the resume path by
preventing the allocations from doing IO and allowing them
to access the emergency pools.

These paths are used when a frontend device is trying to connect
to its backend driver over Xenbus.  These reconnections are triggered
on demand by IO, so by definition there is already IO underway,
and further IO would naturally deadlock.  On resume, this path
is triggered when the running system tries to continue using its
devices.  If it cannot then the resume will fail; to try to avoid this
we let it dip into the emergency pools.

[ linux-2.6.18-xen changesets e8b49cfbdac, fdb998e79aba ]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-07-03 13:21:13 +02:00
..
xenbus xen: Avoid allocations causing swap activity on the resume path 2008-07-03 13:21:13 +02:00
Kconfig xen: add balloon driver 2008-04-24 23:57:33 +02:00
Makefile xen: add balloon driver 2008-04-24 23:57:33 +02:00
balloon.c xen: add balloon driver 2008-04-24 23:57:33 +02:00
events.c xen: Use wmb instead of rmb in xen_evtchn_do_upcall(). 2008-06-20 14:56:30 +02:00
features.c xen: move features.c from arch/x86/xen/features.c to drivers/xen 2008-04-24 23:57:32 +02:00
grant-table.c xen: make grant table arch portable 2008-04-24 23:57:32 +02:00
xencomm.c xen: import arch generic part of xencomm 2008-04-24 23:57:32 +02:00