From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Reducing impact of save/restore/dump on Dom0 Date: Tue, 06 Feb 2007 23:41:56 -0800 Message-ID: <45C982C4.9090001@goop.org> References: <342BAC0A5467384983B586A6B0B3767104A69BB9@EXNA.corp.stratus.com> <8A87A9A84C201449A0C56B728ACF491E04F46D@liverpoolst.ad.cl.cam.ac.uk> <45C90D27.6040903@goop.org> <1170830458.6743.4.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1170830458.6743.4.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rusty Russell Cc: Ian Pratt , xen-devel@lists.xensource.com, "Graham, Simon" List-Id: xen-devel@lists.xenproject.org Rusty Russell wrote: > On Tue, 2007-02-06 at 15:20 -0800, Jeremy Fitzhardinge wrote: > >> O_DIRECT is strongly deprecated. fadvise(..., FADV_DONTNEED, ...) is >> the preferred interface. >> > > Really? I know raw was deprecated in favour of O_DIRECT. But you'd > have to call FADV_DONTNEED after every read AFAICT... > Linus was having a bit of a rant about it last week. O_DIRECT works for straightforward use, but it's a bit of a crapshoot if you mix it with pagecached operations. J