opnsense-src/sys/compat/linuxkpi/common/src
Konstantin Belousov 2c0f13aa59 vm_wait() rework.
Make vm_wait() take the vm_object argument which specifies the domain
set to wait for the min condition pass.  If there is no object
associated with the wait, use curthread' policy domainset.  The
mechanics of the wait in vm_wait() and vm_wait_domain() is supplied by
the new helper vm_wait_doms(), which directly takes the bitmask of the
domains to wait for passing min condition.

Eliminate pagedaemon_wait().  vm_domain_clear() handles the same
operations.

Eliminate VM_WAIT and VM_WAITPFAULT macros, the direct functions calls
are enough.

Eliminate several control state variables from vm_domain, unneeded
after the vm_wait() conversion.

Scetched and reviewed by:	jeff
Tested by:	pho
Sponsored by:	The FreeBSD Foundation, Mellanox Technologies
Differential revision:	https://reviews.freebsd.org/D14384
2018-02-20 10:13:13 +00:00
..
linux_compat.c Make the vm_fault structure in the LinuxKPI compatible with 2018-02-18 09:31:01 +00:00
linux_current.c Remove release and acquire semantics when accessing the "state" field of the 2017-11-11 11:01:50 +00:00
linux_hrtimer.c Update the ktime type in the LinuxKPI to be a signed 64-bit integer similarly 2018-02-18 08:05:40 +00:00
linux_idr.c Properly implement the "id" callback argument in the "idr_for_each" function 2018-01-24 13:37:07 +00:00
linux_kmod.c
linux_kthread.c Add kthread parking support to the LinuxKPI. 2017-06-18 19:22:05 +00:00
linux_lock.c Implement support for mutexes with deadlock avoidance in the LinuxKPI. 2017-03-09 18:33:40 +00:00
linux_page.c vm_wait() rework. 2018-02-20 10:13:13 +00:00
linux_pci.c Set the bus number field when attaching a PCI device. 2017-08-23 16:50:10 +00:00
linux_radix.c When stepping the radix tree in the LinuxKPI make sure we 2018-02-19 06:11:58 +00:00
linux_rcu.c Update Matthew Macy contact info 2017-12-19 17:59:00 +00:00
linux_schedule.c Remove release and acquire semantics when accessing the "state" field of the 2017-11-11 11:01:50 +00:00
linux_slab.c Cleanup the LinuxKPI slab implementation. 2017-03-08 11:09:27 +00:00
linux_tasklet.c Implement tasklet_enable() and tasklet_disable() in the LinuxKPI. 2018-02-16 15:41:16 +00:00
linux_usb.c sys/compat/linux*: spelling fixes. 2016-04-30 00:53:10 +00:00
linux_work.c Make sure the timer belonging to the delayed work in the LinuxKPI 2017-10-04 13:13:38 +00:00