Project

General

Profile

Actions

Feature #3225

open

122: might_sleep functions should not be invoked with disabled interrupts

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

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

0%

Estimated time:
Published in build:

Description

Functions that use might_sleep(even deeply inside their internals) should not be invoked when interrupts are disabled (i.e. in local_irq_save/local_irq_restore && local_irq_enable/local_irq_disable pairs).


Related issues 2 (1 open1 closed)

Related to Linux Kernel Safety RuleDB - Feature #3032: 115: Do not use might_sleep functions in interrupt contextOpen06/14/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 Ilya Shchepetkov over 10 years ago

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

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

Actions #2

Updated by Ilya Shchepetkov over 10 years ago

  • Priority changed from Low to Normal
Actions #3

Updated by Ilya Shchepetkov over 3 years ago

  • Assignee deleted (Ilya Shchepetkov)
Actions

Also available in: Atom PDF