Project

General

Profile

Actions

Feature #3032

open

115: Do not use might_sleep functions in interrupt context

Added by Denis Efremov over 12 years ago. Updated over 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Start date:
06/14/2012
Due date:
% Done:

0%

Estimated time:
Published in build:

Description

Functions that use might_sleep (even deeply inside their internals, e.g. kmap, ...) can't be used in interrupt context.


Related issues 5 (4 open1 closed)

Related to Linux Kernel Safety RuleDB - Feature #3225: 122: might_sleep functions should not be invoked with disabled interruptsOpen07/18/2012

Actions
Related to Linux Kernel Safety RuleDB - Feature #3228: 126: don't inline EXPORT_SYMBOL\(_GPL\(_FUTURE\)\?\)\? functionsNewDenis Efremov07/18/2012

Actions
Related to Linux Kernel Safety RuleDB - Feature #3244: 124: might_sleep should not be called under rcu_read_lockOpen07/20/2012

Actions
Related to Linux Kernel Safety RuleDB - Feature #3243: 123: might_sleep should not be called under spin_lockOpen07/20/2012

Actions
Blocked by C Instrumentation Framework - Bug #3131: Wrong handling of function-like non-argument macrosClosedEvgeny Novikov06/27/2012

Actions
Actions #1

Updated by Denis Efremov over 12 years ago

  • Assignee set to Denis Efremov
Actions #2

Updated by Denis Efremov over 12 years ago

  • Status changed from New to Open
Actions #3

Updated by Evgeny Novikov over 12 years ago

BTW, there is 114 model (that differs from this one) in current model-db.xml now. But that model is disgraceful, so you can easily move it somewhere (e.g. to 1140).

Actions #4

Updated by Denis Efremov over 12 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from 114:Do not use might_sleep functions in interrupt context to 115:Do not use might_sleep functions in interrupt context
Actions #5

Updated by Vadim Mutilin over 12 years ago

  • Subject changed from 115:Do not use might_sleep functions in interrupt context to 115: Do not use might_sleep functions in interrupt context
Actions #6

Updated by Denis Efremov over 12 years ago

  • Description updated (diff)
Actions #7

Updated by Evgeny Novikov over 12 years ago

  • Description updated (diff)
Actions #8

Updated by Vadim Mutilin about 12 years ago

Commits which fix this type of errors in linux-stable repository
04a7e30

Actions #9

Updated by Ilya Shchepetkov over 10 years ago

  • Assignee changed from Denis Efremov to Ilya Shchepetkov

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

Actions #10

Updated by Ilya Shchepetkov over 3 years ago

  • Assignee deleted (Ilya Shchepetkov)
Actions

Also available in: Atom PDF