SVNews r327477

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-01 23:45:09 - r327477 by mjg (Mateusz Guzik)

Complete list of files affected by revision r327477:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/kern/kern_mutex.c  

Commit message:

MFC r327394,r327395:

  mtx: pre-read the lock value in thread_lock_flags_

  Since this function is effectively slow path, if we get here the lock is
  likely already taken in which case it is cheaper to not blindly attempt the
  atomic op.

  While here move hwpmc probe out of the loop to match other primitives.


  mtx: deduplicate indefinite wait check in spinlocks and thread lock


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 1 ms, 2 files printed. Current time is 2018-03-22 17:59:30. All times are in UTC/GMT.