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
F149379441: D13955.id38135.diff
Tue, Mar 24, 2:03 AM
Unknown Object (File)
Sat, Mar 21, 6:44 PM
Unknown Object (File)
Wed, Mar 18, 5:04 AM
Unknown Object (File)
Tue, Mar 17, 2:42 AM
Unknown Object (File)
Sun, Mar 15, 3:44 PM
Unknown Object (File)
Sat, Mar 7, 11:55 PM
Unknown Object (File)
Fri, Mar 6, 7:43 PM
Unknown Object (File)
Feb 6 2026, 4:18 AM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14441
Build 14589: arc lint + arc unit

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.