diff options
| author | Davidlohr Bueso <[email protected]> | 2022-04-11 08:16:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-12 15:53:50 +0200 |
| commit | a2b0b41619e16e8f3d1461ba7588f2da6a92a1ea (patch) | |
| tree | 3a2a7ca3b9bb5a330e8230c8a15123d114777367 /tools/perf/scripts/python/flamegraph.py | |
| parent | 9442e81d7e7c4987411b5be7e0f33b8c6e670b86 (diff) | |
staging/ks7010: replace SME taslet with work
Tasklets have long been deprecated as being too heavy on the system
by running in irq context - and this is not a performance critical
path. If a higher priority process wants to run, it must wait for
the tasklet to finish before doing so.
The execution of the SME event will now occur in task context. There
are, however, changes in concurrency. Workqueues, unlike tasklets,
are not serialized among themselves and can run concurrently
updating sme_i.qhead. However, the current code is already exposed
in same ways, regardless of the deferral mechanism, in that
hostif_sme_enqueue() does unserialized enqueues updating sme_i.qtail.
Also get rid of the bogus (power save) tasklet enabling, as it
is never disabled to begin with.
Signed-off-by: Davidlohr Bueso <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions