Re: [PATCH 2/5] sched: convert signal_struct.sigcnt to refcount_t
From: Oleg Nesterov
Date: Mon Jan 21 2019 - 12:28:28 EST
On 01/18, Elena Reshetova wrote:
>
> For the signal_struct.sigcnt it might make a difference
> in following places:
> - put_signal_struct(): decrement in refcount_dec_and_test() only
> provides RELEASE ordering and control dependency on success
> vs. fully ordered atomic counterpart
this is fine.
Reviewed-by: Oleg Nesterov <oleg@xxxxxxxxxx>