On 08/19, Roland McGrath wrote:
On 08/16, Roland McGrath wrote:
Now that you merged c93fecc925ea7567168f0c94414b9021de2708c5
get_utrace_lock() must not succeed if utrace-reap == T, this becomes
a bit off-topic. However, I thought about relaxing the dead check in
get_utrace_lock(),
On 08/16, Roland McGrath wrote:
- It is possible that both -death and -reap are true. In this
case it is OK to clear UTRACE_EVENT(REAP), but set_events fails.
No, it's not OK to clear it. Once -reap is set, then the engine's
ops-report_reap might or might not have been called
On 08/16, Roland McGrath wrote:
- It is possible that both -death and -reap are true. In this
case it is OK to clear UTRACE_EVENT(REAP), but set_events fails.
No, it's not OK to clear it. Once -reap is set, then the engine's
ops-report_reap might or might not have been called
I am not sure this fix is really needed, up to you.
But please note that this code
if ((utrace-death (cleared _UTRACE_DEATH_EVENTS)) ||
(utrace-reap (cleared UTRACE_EVENT(REAP {
spin_unlock(utrace-lock);