From owner-svn-src-all@FreeBSD.ORG Fri Aug 28 14:24:04 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F98A106566C; Fri, 28 Aug 2009 14:24:04 +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 11C6F8FC1E; Fri, 28 Aug 2009 14:24:04 +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 7BAD046B32; Fri, 28 Aug 2009 10:24:03 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A67DC8A02B; Fri, 28 Aug 2009 10:24:02 -0400 (EDT) From: John Baldwin To: src-committers@freebsd.org Date: Fri, 28 Aug 2009 10:23:57 -0400 User-Agent: KMail/1.9.7 References: <200908281406.n7SE6uK6026804@svn.freebsd.org> In-Reply-To: <200908281406.n7SE6uK6026804@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200908281023.57489.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 28 Aug 2009 10:24:02 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.3 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r196615 - in head/sys: kern sys vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2009 14:24:04 -0000 On Friday 28 August 2009 10:06:56 am John Baldwin wrote: > Author: jhb > Date: Fri Aug 28 14:06:55 2009 > New Revision: 196615 > URL: http://svn.freebsd.org/changeset/base/196615 > > Log: > Extend the device pager to support different memory attributes on different > pages in an object. > - Add a new variant of d_mmap() currently called d_mmap2() which accepts > an additional in/out parameter that is the memory attribute to use for > the requested page. > - A driver either uses d_mmap() or d_mmap2() for all requests but not both. > The current implementation uses a flag in the cdevsw (D_MMAP2) to indicate > that the driver provides a d_mmap2() handler instead of d_mmap(). This > is done to make the change ABI compatible with existing drivers and > MFC'able to 7 and 8. The future plan for 9.0 is to just convert d_mmap() to the newer API/ABI and remove d_mmap2(). However, the current version of this patch is MFC'able without need changes to drivers that do not use the new parameter. -- John Baldwin