diff options
| author | Cong Wang <[email protected]> | 2019-04-16 21:33:51 +0000 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2019-06-07 21:21:39 +0000 |
| commit | 0ade0b6240c4853cf9725924c46c10f4251639d7 (patch) | |
| tree | 5cab0c395bb3d2b05bd0baafd31156f66bb7d8f1 /tools/lib/bitmap.c | |
| parent | RAS/CEC: Fix binary search function (diff) | |
| download | kernel-0ade0b6240c4853cf9725924c46c10f4251639d7.tar.gz kernel-0ade0b6240c4853cf9725924c46c10f4251639d7.zip | |
RAS/CEC: Convert the timer callback to a workqueue
cec_timer_fn() is a timer callback which reads ce_arr.array[] and
updates its decay values. However, it runs in interrupt context and the
mutex protection the CEC uses for that array, is inadequate. Convert the
used timer to a workqueue to keep the tasks the CEC performs preemptible
and thus low-prio.
[ bp: Rewrite commit message.
s/timer/decay/gi to make it agnostic as to what facility is used. ]
Fixes: 011d82611172 ("RAS: Add a Corrected Errors Collector")
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions
