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
..
2018-06-14 17:50:29 +00:00
2017-11-08 21:24:06 +00:00
2018-06-14 17:50:29 +00:00
2017-02-28 15:44:21 +00:00
2017-01-04 03:35:39 +00:00
2017-12-05 21:21:23 +00:00
2017-08-02 20:19:19 +00:00
2018-04-08 22:59:34 +00:00
2018-04-08 22:59:34 +00:00
2017-01-04 03:35:39 +00:00
2018-08-23 18:33:42 +00:00
2018-08-06 05:35:24 +00:00
2018-08-06 05:35:24 +00:00
2018-06-14 17:19:44 +00:00
2018-08-06 05:35:24 +00:00
2018-08-06 05:35:24 +00:00