HomeFreeBSD

Reduce umtx-related work on exec and exit

Description

Reduce umtx-related work on exec and exit

  • there is no need to take the process lock to iterate the thread list after single-threading is enforced
  • typically there are no mutexes to clean up (testable without taking the global umtx lock)
  • typically there is no need to adjust the priority (testable without taking thread lock)

Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D20160

Details

Provenance
mjgAuthored on
Reviewer
kib
Differential Revision
D20160: Reduce umtx-related work on exec and exit
Parents
rS347354: powerpc/booke: Rewrite pmap_sync_icache() a bit
Branches
Unknown
Tags
Unknown