[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080531164712.2788baf2.akpm@linux-foundation.org>
Date: Sat, 31 May 2008 16:47:12 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: Jeff Garzik <jgarzik@...ox.com>,
Jens Axboe <jens.axboe@...cle.com>,
LKML <linux-kernel@...r.kernel.org>,
Ian Campbell <Ian.Campbell@...citrix.com>
Subject: Re: [PATCH 5 of 5] xen: Avoid allocations causing swap activity on
the resume path
On Sat, 31 May 2008 11:10:18 +0100 Jeremy Fitzhardinge <jeremy@...p.org> wrote:
> > Whether you should also add __GFP_HIGH to cause the page allocation to
> > bite harder into the page reserves is unclear to me, sorry.
> >
>
> Well, if the allocation fails the machine is dead in the water, because
> it probably can't go on without its devices. I think it's worth eating
> to the reserves to avoid that. (I'll have a close look to only add it
> to allocations which are really unrecoverable if they fail.)
OK.
I don't actually have a clue what you're doing here. Restoring a
virtual machine from disk/network or something like that?
It might be appropriate to do a big memory-reclaim before starting the
operation, along the lines of suspend-to-disk - go off and allocate
(and possible pin) sufficient memroy for the entire operation before
actually starting it?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists