diff options
author | Larry Finger <[email protected]> | 2013-02-02 15:55:00 -0600 |
---|---|---|
committer | John W. Linville <[email protected]> | 2013-02-04 16:41:56 -0500 |
commit | a5ffbe0a1993a27072742ef7db6cf9839956fce9 (patch) | |
tree | 26cde444b6ce2004888599d4b6ec59ee4b58bd65 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 4c52d3d3fdef532a6e372865d1f15632abf5fc82 (diff) |
rtlwifi: Fix scheduling while atomic bug
Kernel commits 41affd5 and 6539306 changed the locking in rtl_lps_leave()
from a spinlock to a mutex by doing the calls indirectly from a work queue
to reduce the time that interrupts were disabled. This change was fine for
most systems; however a scheduling while atomic bug was reported in
https://bugzilla.redhat.com/show_bug.cgi?id=903881. The backtrace indicates
that routine rtl_is_special(), which calls rtl_lps_leave() in three places
was entered in atomic context. These direct calls are replaced by putting a
request on the appropriate work queue.
Signed-off-by: Larry Finger <[email protected]>
Reported-and-tested-by: Nathaniel Doherty <[email protected]>
Cc: Nathaniel Doherty <[email protected]>
Cc: Stanislaw Gruszka <[email protected]>
Cc: Stable <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions