From owner-freebsd-arch@FreeBSD.ORG Mon Oct 31 21:24:42 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 0FD0C106564A; Mon, 31 Oct 2011 21:24:42 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id AB0398FC13; Mon, 31 Oct 2011 21:24:41 +0000 (UTC) Received: by qadz32 with SMTP id z32so7162688qad.13 for ; Mon, 31 Oct 2011 14:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=erurtAvl12T9px9dWiAxFPf4Gr78n/CB8N5Bsh4Px7o=; b=GYEl65L30D6kGNGYBuY1ZAoqdxvKv/lEu161G9bXr7EtSlluzLWFEPsm1NgTvTMkDk luBZ7Optmh2zebkPKIl2fdfPMYlAlK3oIk+bFNiY/+bx5wqs1Sy8TTTBm4dwaGnEofP2 84k7MnOsyisvEoN84rvpUznnIvRTuILy5pDmQ= MIME-Version: 1.0 Received: by 10.182.7.10 with SMTP id f10mr3273120oba.56.1320096281006; Mon, 31 Oct 2011 14:24:41 -0700 (PDT) Received: by 10.182.122.33 with HTTP; Mon, 31 Oct 2011 14:24:40 -0700 (PDT) In-Reply-To: <20111031212157.GQ2258@hoeg.nl> References: <201110281426.00013.jhb@freebsd.org> <201110311024.07580.jhb@freebsd.org> <20111031190359.GP2258@hoeg.nl> <201110311717.53476.jhb@freebsd.org> <20111031212157.GQ2258@hoeg.nl> Date: Mon, 31 Oct 2011 14:24:40 -0700 Message-ID: From: Garrett Cooper To: Ed Schouten Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org, Jilles Tjoelker 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: Mon, 31 Oct 2011 21:24:42 -0000 On Mon, Oct 31, 2011 at 2:21 PM, Ed Schouten wrote: > * John Baldwin , 20111031 22:17: >> They don't. =A0They use fadvise() which is part of Linux's API much as >> madvise(2) is part of ours. =A0(See the other fork in this thread.) > > Huh? Wait. It seems fadvise() is only a name used by the Linux kernel. > It's not exported by glibc as a symbol. At least not on my laptop > (Ubuntu 11.10). Many developers incorrectly dig into system headers on Linux, so that's probably why they prefix the API. -Garrett