Project

General

Profile

Actions

Feature #3244

open

124: might_sleep should not be called under rcu_read_lock

Added by Denis Efremov almost 12 years ago. Updated over 2 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Start date:
07/20/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Sleeping functions are not allowed under rcu_read_lock. In this case srcu_read_lock should be used.


Related issues 1 (1 open0 closed)

Related to Linux Kernel Safety RuleDB - Feature #3032: 115: Do not use might_sleep functions in interrupt contextOpen06/14/2012

Actions
Actions #1

Updated by Denis Efremov almost 12 years ago

  • Subject changed from 124: might_sleep should not be called inside rcu_read_lock to 124: might_sleep should not be called under rcu_read_lock
Actions #2

Updated by Ilya Shchepetkov about 10 years ago

  • Status changed from New to Open
  • Assignee changed from Denis Efremov to Ilya Shchepetkov

This model was added to our repository in the commit bcd76cb of the rule_124 branch with a pre-generated list of might sleep functions (for 3.11-rc1 kernel, depth=1).

Actions #3

Updated by Ilya Shchepetkov over 2 years ago

  • Assignee deleted (Ilya Shchepetkov)
Actions

Also available in: Atom PDF