Page MenuHomeFreeBSD

Add a pmap invalidate that doesn't call sched_pin

Authored by andrew on Jan 17 2018, 6:21 PM.



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.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

andrew created this revision.Jan 17 2018, 6:21 PM
loos added a subscriber: loos.Jan 17 2018, 6:31 PM
loos accepted this revision.Jan 17 2018, 6:39 PM

Fixes the boot on espressobin/Armada 3700 with all (of the supported) devices enabled.

This revision is now accepted and ready to land.Jan 17 2018, 6:39 PM
This revision was automatically updated to reflect the committed changes.