Re: [PATCH] sigqueue_free: fix the race with collect_signal()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sukadev Bhattiprolu
Date: Friday, August 24, 2007 - 1:03 pm

Oleg Nesterov wrote:

Oleg, if one thread can be in collect_signal() and another in 
sigqueue_free() and both operate on the exact same sigqueue object, its 
not clear how we prevent two calls to __sigqueue_free() to
the same object. In that case the lock (or some lock) should be around 
__sigqueue_free() - no ?

 i.e if we enter sigqueue_free(), we will call __sigqueue_free() 
regardless of the state.



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] sigqueue_free: fix the race with collect_signal(), Sukadev Bhattiprolu, (Fri Aug 24, 1:03 pm)
Re: [PATCH] sigqueue_free: fix the race with collect_signal(), Sukadev Bhattiprolu, (Sat Aug 25, 10:24 am)