Date: Thu, 29 Oct 2009 15:09:54 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_conf.c src/sys/sys conf.h types.h src/sys/vm device_pager.c vm.h Message-ID: <200910291510.n9TFAxUv093554@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-10-29 15:09:54 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/kern kern_conf.c sys/sys conf.h types.h sys/vm device_pager.c vm.h Log: SVN rev 198594 on 2009-10-29 15:09:54Z 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.231.2.2 +10 -4 src/sys/kern/kern_conf.c 1.251.2.2 +9 -1 src/sys/sys/conf.h 1.102.2.2 +1 -0 src/sys/sys/types.h 1.91.2.2 +15 -5 src/sys/vm/device_pager.c 1.32.2.2 +6 -6 src/sys/vm/vm.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910291510.n9TFAxUv093554>