]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r235375:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Jun 2012 21:25:20 +0000 (21:25 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 11 Jun 2012 21:25:20 +0000 (21:25 +0000)
commit1940eeca435cab43b29dbec54ccf17bb1751f37f
tree641019cb098dd2c7be36c6be1c7f8099e71433b0
parent4fe88afa35539d7005a7ce002718ddd3fd807565
MFC r235375:
Add new pager type, OBJT_MGTDEVICE. It provides the device pager
which carries fictitous managed pges. In particular, the consumers of
the new object type can remove all mappings of the device page with
pmap_remove_all().

The range of physical addresses used for fake page allocation shall be
registered with vm_phys_fictitious_reg_range() interface to allow the
PHYS_TO_VM_PAGE() to work in pmap.

git-svn-id: svn://svn.freebsd.org/base/stable/9@236925 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/vm/device_pager.c
sys/vm/vm.h
sys/vm/vm_pager.c
sys/vm/vm_pager.h