freebsd-dev/sys/arm
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
..
allwinner Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
altera/socfpga Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
amlogic/aml8726 Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
annapurna/alpine Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
arm Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
broadcom/bcm2835 evdev: remove soft context from evdev methods parameter list. 2018-08-13 19:00:42 +00:00
cloudabi32 Correct some more places where TO_PTR() should be used. 2017-11-26 14:53:56 +00:00
conf Revert drm2 removal. 2018-08-24 00:02:00 +00:00
freescale Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
include Remove the L1 and L2 xscale page defines and rename the generic macros to 2018-08-16 10:00:51 +00:00
mv Remove PHYSADDR from kernel configurations that don't need it. The only 2018-08-15 13:13:19 +00:00
nvidia Eliminate the arena parameter to kmem_free(). Implicitly this corrects an 2018-08-25 19:38:08 +00:00
qemu Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
ralink Remove PHYSADDR from kernel configurations that don't need it. The only 2018-08-15 13:13:19 +00:00
rockchip Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00
samsung/exynos Eliminate kmem_alloc_contig()'s unused arena parameter. 2018-08-20 15:57:27 +00:00
ti Use the cp15 functions to read cp15 registers rather than using assembly 2018-07-28 17:21:34 +00:00
versatile Revert r327250 as it broke the build for some armv6 kernel and all armv4/5 2017-12-28 07:31:14 +00:00
xilinx Remove IPI_IRQ_START and IPI_IRQ_END from the arm kernel config files. 2018-07-28 06:46:10 +00:00