freebsd-dev/sys/riscv
Mark Johnston 3e3eb5f45f arm64, riscv: Set VM_KMEM_SIZE_SCALE to 1
This setting limits the amount of memory that can be allocated to UMA.
On systems with a direct map and ample KVA, however, there is no reason
for VM_KMEM_SIZE_SCALE to be larger than 1.  This appears to have been
inherited from the 32-bit ARM platform definitions.

Also remove VM_KMEM_SIZE_MIN, which is not needed when
VM_KMEM_SIZE_SCALE is defined to be 1.[*]

Reviewed by:	alc, kp, kib
Reported by:	alc [*]
Submitted by:	Klara, Inc.
Sponsored by:	Ampere Computing
Differential Revision:	https://reviews.freebsd.org/D28225
2021-01-19 20:34:36 -05:00
..
conf Split out the NODEBUG options to a common file 2021-01-14 16:57:53 +00:00
include arm64, riscv: Set VM_KMEM_SIZE_SCALE to 1 2021-01-19 20:34:36 -05:00
riscv riscv pmap: add some pv list assertions 2021-01-12 11:12:02 -04:00
sifive riscv: Fix build by using the correct device-tree include path 2021-01-16 11:31:39 +01:00