Question about futex

2014-03-16 Thread Ryan Nicholl
I'm wondering why we have no 64 bit futex? (unless it was added since my kernel.) I would like to wait on a pointer, right now I have a timeout to avoid deadlock if only the upper half is changed during a race, but this is highly sub-optimal for me.

Futex Question (64 bits?)

2014-03-24 Thread Ryan Nicholl
he pointer not futexed is modified between the time the system call is entered and executed. This creates a situation that prevents the locking_ptr from being realtime safe unless the timeout is set at a very low value. Furthermore, this causes excess CPU usage due to spurious wakeups. Thank you, Ry

Question about futex

2014-03-16 Thread Ryan Nicholl
I'm wondering why we have no 64 bit futex? (unless it was added since my kernel.) I would like to wait on a pointer, right now I have a timeout to avoid deadlock if only the upper half is changed during a race, but this is highly sub-optimal for me.

Futex Question (64 bits?)

2014-03-24 Thread Ryan Nicholl
not futexed is modified between the time the system call is entered and executed. This creates a situation that prevents the locking_ptr from being realtime safe unless the timeout is set at a very low value. Furthermore, this causes excess CPU usage due to spurious wakeups. Thank you, Ryan Nicholl