linux-sg2042/drivers/xen/xenbus
Ian Campbell b3831cb55d xen: avoid allocation causing potential swap activity on the resume path
Since the device we are resuming could be the device containing the
swap device we should ensure that the allocation cannot cause
IO.

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.

The majority of these changes were made when linux-2.6.18-xen.hg
changeset e8b49cfbdac0 was ported upstream in
a144ff09bc but somehow this hunk was
dropped.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: Stable Kernel <stable@kernel.org> # .32.x
2010-06-03 09:34:45 +01:00
..
Makefile xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_client.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
xenbus_comms.c xenbus: rebind irq on restore 2008-05-27 10:11:38 +02:00
xenbus_comms.h xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_probe.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
xenbus_probe.h xen: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:34 -08:00
xenbus_xs.c xen: avoid allocation causing potential swap activity on the resume path 2010-06-03 09:34:45 +01:00