freebsd-src/sys/powerpc/aim
Bojan Novković 858ead4bce powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure
0013741 fixed an edge case invloving mlock() and superpage creation
by creating and inserting a leaf pagetable page for mlock'd superpages.
However, the code does not properly release the reference to the
pagetable page in the error handling path.
This commit fixes the issue by adding calls to 'pmap_abort_ptp'
in the error handling path.

Reported by: alc
Approved by: markj (mentor)
Fixes: 0013741
Differential Revision: https://reviews.freebsd.org/D45582
2024-06-16 18:19:27 +02:00
..
aim_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
locore.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
locore32.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
locore64.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
mmu_oea.c pmap: Convert boolean_t to bool. 2024-01-31 14:48:26 -08:00
mmu_oea64.c pmap: Skip some superpage promotion attempts that will fail 2024-06-04 00:38:05 -05:00
mmu_oea64.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
mmu_radix.c powerpc_mmu_radix: Release PTP reference on leaf ptpage allocation failure 2024-06-16 18:19:27 +02:00
moea64_native.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mp_cpudep.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
slb.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
trap_subr32.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
trap_subr64.S sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00