diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-05-25 10:45:35 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-05 11:22:40 -0700 |
commit | 4cf008cd7473e60fdeea935f0cdb5e493e3164c2 (patch) | |
tree | 725c47b61a11001d5aa5a2eca1421e007e56c946 /sound/pci/hda/hda_intel.c | |
parent | 410f6abbf04138c8ac7cb1317ef1cf4fdb3a0f3a (diff) |
xen: avoid allocation causing potential swap activity on the resume path
commit b3831cb55d383e8eb55d3b56c715fb48459b87c9 upstream.
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
a144ff09bc52ef3f3684ed23eadc9c7c0e57b3aa but somehow this hunk was
dropped.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
0 files changed, 0 insertions, 0 deletions