freebsd-dev/sys/dev/hyperv
Alan Cox 49bfa624ac Eliminate the arena parameter to kmem_free(). Implicitly this corrects an
error in the function hypercall_memfree(), where the wrong arena was being
passed to kmem_free().

Introduce a per-page flag, VPO_KMEM_EXEC, to mark physical pages that are
mapped in kmem with execute permissions.  Use this flag to determine which
arena the kmem virtual addresses are returned to.

Eliminate UMA_SLAB_KRWX.  The introduction of VPO_KMEM_EXEC makes it
redundant.

Update the nearby comment for UMA_SLAB_KERNEL.

Reviewed by:	kib, markj
Discussed with:	jeff
Approved by:	re (marius)
Differential Revision:	https://reviews.freebsd.org/D16845
2018-08-25 19:38:08 +00:00
..
include sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
input hyperv/input: Remove unnecessary inclusion. 2017-06-30 03:01:22 +00:00
netvsc hyperv/hn: Fix panic in hypervisor code upon device detach event 2018-07-17 21:05:08 +00:00
pcib Fix build of hyperv with base gcc on i386 2018-08-04 14:57:23 +00:00
storvsc hyperv/storvsc: storvsc_io_done(): do not use CAM_SEL_TIMEOUT 2018-04-10 18:05:02 +00:00
utilities sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
vmbus Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00