]> git.baikalelectronics.ru Git - kernel.git/commit
staging/most, dim2: convert dim2_tasklet to threaded irq
authorDavidlohr Bueso <dave@stgolabs.net>
Mon, 11 Apr 2022 15:16:15 +0000 (08:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:53:50 +0000 (15:53 +0200)
commitd07b64c0dba9272292789aa76b5976497e82ae84
treeb3684ce2d18bd092bec0b1edc2ea5fd4550cb31d
parentb77b8133051ea6f9e52a3e608187095b52bd203a
staging/most, dim2: convert dim2_tasklet to threaded irq

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. A more suitable equivalent
is to converted to threaded irq instead and service channels in
regular task context.

Signed-off-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/20220411151620.129178-2-dave@stgolabs.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c