]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctly implement PMAP_ENTER_NOREPLACE in pmap_enter_{l2,pde}() on kernel
authoralc <alc@FreeBSD.org>
Sun, 29 Dec 2019 05:36:01 +0000 (05:36 +0000)
committeralc <alc@FreeBSD.org>
Sun, 29 Dec 2019 05:36:01 +0000 (05:36 +0000)
commitba716a3ce6b3459e55d577a7c4f8412989855f62
tree10ccd8fa240c7eb71e7ee803aed0034b9435df15
parent4729f0c7c30aedd7a4ab065752faa13d9d96f04b
Correctly implement PMAP_ENTER_NOREPLACE in pmap_enter_{l2,pde}() on kernel
mappings.

Reduce code duplication by defining a function, pmap_abort_ptp(), for
handling a common error case.

Simplify error handling in pmap_enter_quick_locked().

Reviewed by: kib
Tested by: pho
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D22890
sys/i386/i386/pmap.c