HomeFreeBSD

Add a pmap invalidate that doesn't call sched_pin.

Description

Add a pmap invalidate that doesn't call sched_pin.

When demoting DMAP pages curthread may be pointing to data within the
page we are demoting. Create a new invalidate that doesn't pin and use
it in the demote case.

As the demote has both interrupts disabled, and is within a critical section
this is safe from having the scheduler from switching to another CPU.

Reported by: loos
Reviewed by: loos
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D13955

Details

Committed
andrewJan 18 2018, 10:52 AM
Reviewer
loos
Differential Revision
D13955: Add a pmap invalidate that doesn't call sched_pin
Parents
rS328114: This call to lock should've been unlock.
Branches
Unknown
Tags
Unknown