Project

General

Profile

Actions

Bug #786

closed

call_rcu threads should clear their PAUSED flag when they unpause

Added by Mathieu Desnoyers over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Target version:
-
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 <>

Actions #1

Updated by Mathieu Desnoyers over 10 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.

Actions #2

Updated by Anonymous over 10 years ago

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

Also available in: Atom PDF