freebsd-dev/sys/compat/linuxkpi/common
Hans Petter Selasky 611572285a Complete r320189 which allows a NULL VM fault handler in the LinuxKPI.
Instead of mapping a dummy page upon a page fault, map the page
pointed to by the physical address given by IDX_TO_OFF(vmap->vm_pfn).
To simplify the implementation use OBJT_DEVICE to implement our own
linux_cdev_pager_fault() instead of using the existing
linux_cdev_pager_populate().

Some minor code factoring while at it.

Reviewed by:	markj @
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2017-07-07 13:44:14 +00:00
..
include Add some auxiliary types for device driver support. 2017-07-04 01:23:36 +00:00
src Complete r320189 which allows a NULL VM fault handler in the LinuxKPI. 2017-07-07 13:44:14 +00:00