git: kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion (3)
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Jan 6 16:08:50 PST 2017
commit 582f286d9b439958aa7c4f1df9cd14b05ec24e50
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Jan 6 16:04:32 2017 -0800
kernel - Fix swap issue, implement dynamic pmap PT/PD/PDP deletion (3)
* More pmap fixes. Fix a bug introduced by the original commit that
could still create managed PT/PD/PDP page tables in kernel_pmap when
doing a wiring change.
* Assert that we never create managed PT/PD/PDP page tables in kernel_pmap.
Managed PTEs can still be created (e.g. for pageable kernel memory).
* Add sysctl pmap_dynamic_delete, which defaults to enabled. This sysctl
can be set to 0 to disable dynamic deletion of PT/PD/PDP pages in user
pmaps.
Summary of changes:
sys/platform/pc64/x86_64/pmap.c | 85 ++++++++++++++++++++++++++++++-----------
1 file changed, 62 insertions(+), 23 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/582f286d9b439958aa7c4f1df9cd14b05ec24e50
--
DragonFly BSD source repository
More information about the Commits
mailing list