]> xenbits.xensource.com Git - xenclient/kernel.git/commit
Use GFP_NOIO to avoid allocations which swap on resume.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 10 Jun 2008 07:50:39 +0000 (08:50 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Jun 2008 07:50:39 +0000 (08:50 +0100)
commit54cd1ba5b921bdf5032a3245e3e5ba99ebab609c
treec8bd0e411a67a5f0e382b43265a90060f9cb3dbe
parentc99f535810abdf3955dbf63dfcb43f51057a2a03
Use GFP_NOIO to avoid allocations which swap on resume.

377:e8b49cfbdac0 and 497:fdb998e79aba added __GFP_HIGH to allocations
which could cause swap on resume. __GFP_HIGH actually only makes such
allocations less likely (by allowing access to the emergency pools of
memory).

See: http://marc.info/?l=linux-kernel&m=121222807617695&w=2

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
drivers/xen/blkfront/blkfront.c
drivers/xen/netfront/netfront.c
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_xs.c