Project

General

Profile

Bug #786

call_rcu threads should clear their PAUSED flag when they unpause

Added by Mathieu Desnoyers almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Start date:
04/17/2014
Due date:
% Done:

100%

Estimated time:

Description

call_rcu threads should clear their PAUSED flag when they unpause, and call_rcu_after_fork_parent should spin-wait on this.

Otherwise a second fork in the parent will see the PAUSED flags already set and call_rcu_before_fork will not correctly wait for the call_rcu threads to quiesce on this second occasion.

This was reported by Keir Fraser <>

#1

Updated by Mathieu Desnoyers almost 6 years ago

Test case added with commit:

commit d6aefcd1538d2369be506b7a042109945c9b6dab
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date:   Thu Apr 17 08:32:22 2014 -0400

    test_urcu_fork: test many fork, with 3 children deep

    Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

Result: hangs.

#2

Updated by Anonymous almost 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF