kernel - Intel user/kernel separation MMU bug fix part 6 (stabilization)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Jan 2018 18:13:31 +0000 (10:13 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 6 Jan 2018 18:17:23 +0000 (10:17 -0800)
commit56aa97e31877bf079da884f47108a34cabf7f584
tree80d0b0c7120afc455a44b99d42f4e70fe62a2a36
parent43a09a2a268b28edcf7fd21897767b9c93d9cca0
kernel - Intel user/kernel separation MMU bug fix part 6 (stabilization)

* Stabilization.  Fix a bug which can crash the machine when the sysctl
  is toggled back and forth on a live system.

* The fork code was inheriting ISOMMU in pcb_flags from the parent
  process, but potentially not getting a pmap with the feature configured
  due to the sysctl being toggled off.

Reported-by: profmakx, zrj, swildner
sys/platform/pc64/x86_64/machdep.c
sys/platform/pc64/x86_64/vm_machdep.c