freebsd-src/sys/powerpc
Bojan Novković da76d349b6 uma: Deduplicate uma_small_alloc
This commit refactors the UMA small alloc code and
removes most UMA machine-dependent code.
The existing machine-dependent uma_small_alloc code is almost identical
across all architectures, except for powerpc where using the direct
map addresses involved extra steps in some cases.

The MI/MD split was replaced by a default uma_small_alloc
implementation that can be overridden by architecture-specific code by
defining the UMA_MD_SMALL_ALLOC symbol. Furthermore, UMA_USE_DMAP was
introduced to replace most UMA_MD_SMALL_ALLOC uses.

Reviewed by: markj, kib
Approved by: markj (mentor)
Differential Revision:	https://reviews.freebsd.org/D45084
2024-05-25 19:24:46 +02:00
..
aim pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
amigaone sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
booke powerpc/booke: Reserve KVA for minidump working area 2024-04-04 19:03:27 -04:00
conf ahc(4): Default to memory mapped IO 2024-05-09 20:15:08 -06:00
cpufreq sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fpu sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
include uma: Deduplicate uma_small_alloc 2024-05-25 19:24:46 +02:00
mambo sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mikrotik sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
mpc85xx new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
ofw powerpc: Bump maximum number of FDT reserved mem entries 2024-02-28 22:01:15 -05:00
powermac macio: Set resource map size 2024-04-10 22:05:38 -04:00
powernv sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
powerpc uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
ps3 new-bus: Remove the 'type' argument from BUS_MAP/UNMAP_RESOURCE 2024-03-13 15:05:54 -07:00
pseries sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
psim new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00