Mateusz Guzik 1f4d28c7ea mtx: pre-read the lock value in thread_lock_flags_
Since this function is effectively slow path, if we get here the lock is most
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.
2017-12-31 00:33:28 +00:00
..
2017-11-30 20:33:45 +00:00
2017-10-12 15:48:37 +00:00
2017-01-25 20:22:32 +00:00
2017-12-13 16:30:39 +00:00
2017-08-07 14:09:57 +00:00
2017-11-30 20:33:45 +00:00
2017-11-29 12:49:22 +00:00
2017-06-17 00:58:19 +00:00
2017-06-17 00:58:19 +00:00
2017-12-01 22:51:02 +00:00