Live data from Hacker News

Viewing profile — NeillC

NeillC

HN member
Joined
Mon, Mar 04, 2024, 12:04 AM UTC
HN karma
9
Public activity
5 items

About NeillC

No profile information was provided.

Recent public activity

  1. comment
    Comment #39587036

    Critical sections are unfair also. Could be differences in spin count you are seeing.

  2. comment
    Comment #39587020

    It's typical not to allow a second share acquire to proceed if we have an exclusive waiter: t1: share t2: exclusive so waits t3: share also waits Thats how we arrive at the rule th…

  3. comment
    Comment #39586597

    The lock in unfair. We are unfair because you get better performance by not allowing the lock hold time to be extended by context swap. As a result, we always unconditionally relea…

  4. comment
    Comment #39585740

    Maybe my memory is faulty but I believe it was analyzed by Leslie Lamports stuff. Ofcourse your building a model of how it should work and you might have faults in that.

  5. comment
    Comment #39585729

    We use bit test and set as it causes us to get the cache line exclusive. This avoids using the prefetch write before fetching if we were to use CompareExchange. somebody was trying…