Remove the nr_exclusive argument from __wake_up_sync_key()
Remove the nr_exclusive argument from __wake_up_sync_key() and derived functions as everything seems to set it to 1. Note also that if it wasn't set to 1, it would clear WF_SYNC anyway. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
This commit is contained in:
@@ -1435,7 +1435,7 @@ static int child_wait_callback(wait_queue_entry_t *wait, unsigned mode,
|
||||
void __wake_up_parent(struct task_struct *p, struct task_struct *parent)
|
||||
{
|
||||
__wake_up_sync_key(&parent->signal->wait_chldexit,
|
||||
TASK_INTERRUPTIBLE, 1, p);
|
||||
TASK_INTERRUPTIBLE, p);
|
||||
}
|
||||
|
||||
static long do_wait(struct wait_opts *wo)
|
||||
|
||||
Reference in New Issue
Block a user