freebsd-nq/sys/arm
Mark Johnston 847ab36bf2 Include the psind in data returned by mincore(2).
Currently we use a single bit to indicate whether the virtual page is
part of a superpage.  To support a forthcoming implementation of
non-transparent 1GB superpages, it is useful to provide more detailed
information about large page sizes.

The change converts MINCORE_SUPER into a mask for MINCORE_PSIND(psind)
values, indicating a mapping of size psind, where psind is an index into
the pagesizes array returned by getpagesizes(3), which in turn comes
from the hw.pagesizes sysctl.  MINCORE_PSIND(1) is equal to the old
value of MINCORE_SUPER.

For now, two bits are used to record the page size, permitting values
of MAXPAGESIZES up to 4.

Reviewed by:	alc, kib
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D26238
2020-09-02 18:16:43 +00:00
..
allwinner arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
altera/socfpga arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
amlogic/aml8726 arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
annapurna/alpine arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
arm Include the psind in data returned by mincore(2). 2020-09-02 18:16:43 +00:00
broadcom/bcm2835 arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf Switch from SCTP to SCTP_SUPPORT in GENERIC configs. 2020-07-16 15:09:04 +00:00
freescale arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
include Add the MEM_EXTRACT_PADDR ioctl to /dev/mem. 2020-09-02 18:12:47 +00:00
linux arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
mv arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
nvidia arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
samsung/exynos arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
ti arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
versatile arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00
xilinx arm: clean up empty lines in .c and .h files 2020-09-01 21:17:24 +00:00