From owner-cvs-src-old@FreeBSD.ORG Thu Oct 29 15:11:07 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F38F10656A8 for ; Thu, 29 Oct 2009 15:11:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2CE568FC38 for ; Thu, 29 Oct 2009 15:11:07 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n9TFB7CN093614 for ; Thu, 29 Oct 2009 15:11:07 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n9TFB7wu093613 for cvs-src-old@freebsd.org; Thu, 29 Oct 2009 15:11:07 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200910291511.n9TFB7wu093613@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Thu, 29 Oct 2009 15:10:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h types.h src/sys/vm device_pager.c vm.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2009 15:11:07 -0000 jhb 2009-10-29 15:10:38 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_conf.c sys/sys conf.h types.h sys/vm device_pager.c vm.h Log: SVN rev 198595 on 2009-10-29 15:10:38Z by jhb MFC 196615: 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. Revision Changes Path 1.208.2.10 +10 -4 src/sys/kern/kern_conf.c 1.233.2.6 +9 -1 src/sys/sys/conf.h 1.96.2.5 +1 -0 src/sys/sys/types.h 1.84.2.4 +15 -5 src/sys/vm/device_pager.c 1.27.2.4 +6 -6 src/sys/vm/vm.h