From owner-freebsd-arch@FreeBSD.ORG Wed Nov 2 18:05:01 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B512A106564A for ; Wed, 2 Nov 2011 18:05:01 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 869518FC41 for ; Wed, 2 Nov 2011 18:05:01 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 19A1146B46; Wed, 2 Nov 2011 14:05:01 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 8E1768A02E; Wed, 2 Nov 2011 14:05:00 -0400 (EDT) From: John Baldwin To: Bruce Cran Date: Wed, 2 Nov 2011 11:36:12 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <201110281426.00013.jhb@freebsd.org> <201111011308.05204.jhb@freebsd.org> <4EB08740.8010601@cran.org.uk> In-Reply-To: <4EB08740.8010601@cran.org.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201111021136.12629.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 02 Nov 2011 14:05:00 -0400 (EDT) Cc: Ed Schouten , Jilles Tjoelker , arch@freebsd.org Subject: Re: [PATCH] fadvise(2) system call X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2011 18:05:01 -0000 On Tuesday, November 01, 2011 7:56:48 pm Bruce Cran wrote: > On 01/11/2011 17:08, John Baldwin wrote: > > I had found it via the web: http://linux.die.net/man/2/fadvise > > However, after further searching it appears to be stale (if you follow > > it's cross-reference to madvise(2), that page only has links to > > posix_fadvise() and not fadvise()). > > There's > http://www.speedware.com/HPe3000_resources/MPE_to_HP-UX_cross- reference/system_administration_cross-reference/cmd.html?cmdid=MS_1800 > for HP-UX ("*fadvise()* was derived by HP from the IEEE POSIX > 1003.1-2001 Standard"), though it also has posix_fadvise. Hmm, that one actually has an extra argument. I'll just go with posix_fadvise() for now. Interesting that HP lets you OR together two policies (so you can say both "I will access this file sequentially and with noreuse"). -- John Baldwin