Skip to content
Snippets Groups Projects
Commit 9ba271b6 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Stefan Rauch
Browse files

pcie-wb: Use threaded interrupts and avoid the kworker.


The interrupt service routine schedules a worker in order to perform the
main task including signaling userspace. This can lead to increased
latency since the worke is not sychronized with the interrupt handler
and be invoked "later" depending on the load on the system.

This can be avoided by using a threaded interrupt and invoking the work
directly in the threaded interrupt. There are still other places which
invoke wishbone_slave_ready() (and use the worker) in order to judge if
this is sane to do or not.

Use threaded interrupts and perform the work in the threaded interrupt.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: default avatarKurt Kanzenbach <kurt@linutronix.de>
parent 4f853dbb
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment