HomeFreeBSD

For i386 temporary mappings, unpin the thread before releasing

Description

For i386 temporary mappings, unpin the thread before releasing
the cmap lock. Releasing the lock first may result in the thread
being immediately rescheduled and bound to the same CPU, only to
unpin itself upon resuming execution.

Noted by: skra (in review for armv6 equivalent)
MFC after: 1 week

Details

Provenance
jahAuthored on Jan 14 2017, 9:56 AM
Parents
rGed2159c92c02: tmpfs: manage tm_pages_used with atomics
Branches
Unknown
Tags
Unknown

Event Timeline