Page MenuHomeFreeBSD

Add a pmap invalidate that doesn't call sched_pin
ClosedPublic

Authored by andrew on Jan 17 2018, 6:21 PM.
Tags
None
Referenced Files
F136979440: D13955.id38098.diff
Thu, Nov 20, 9:48 PM
F136979315: D13955.id.diff
Thu, Nov 20, 9:48 PM
F136979149: D13955.id38135.diff
Thu, Nov 20, 9:47 PM
F136977032: D13955.diff
Thu, Nov 20, 9:39 PM
Unknown Object (File)
Tue, Nov 18, 11:37 AM
Unknown Object (File)
Mon, Oct 27, 8:19 AM
Unknown Object (File)
Sun, Oct 26, 7:32 AM
Unknown Object (File)
Sat, Oct 25, 1:07 PM
Subscribers

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.