D Denys Vlasenko #
Message details and related content
On Tue, Feb 10, 2015 at 2:18 PM, Denys Vlasenko [off-list ref] wrote:
while (1) {
if (READ_ONCE(lock->tickets.head) != TICKET_TAIL(val))
cpu_relax();
}
Doh.... should be
while (READ_ONCE(lock->tickets.head) != TICKET_TAIL(val)
cpu_relax();