[NEUS7920-133][9610] wlbt: Use single threaded wq in hip4 bh
authorAlbert Cano <a.canocamps@samsung.com>
Thu, 14 Feb 2019 10:39:50 +0000 (10:39 +0000)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:25 +0000 (20:23 +0300)
commit375dbae49ccff2c76b8770656eca02929b13e519
treef1a76e0403b0da17f03083c0aafb0aa350494115
parent0cbe09d10d2810b3e61e5e4a33fc6c40de6d6989
[NEUS7920-133][9610] wlbt: Use single threaded wq in hip4 bh

We have recently (A50 project) observed several issues to schedule
hip4_wq work, most likely because the kernel is blocked and is not
granting us CPU cycles.

In current implementation the work is added in the systemwq. Systemwq
might be easily affected by other subsystems adding batch works that
might eventually block our pending work.

In order to avoid using systemwq, the patch creates a new singlethread
workqueue and adds the non-napi process context bottom half works in there.

Change-Id: I0cc69779aa91c26777f00a2e7b1cd840336f553d
SCSC-Bug-Id: SSB-50566
Signed-off-by: Albert Cano <a.canocamps@samsung.com>
drivers/net/wireless/scsc/hip4.c
drivers/net/wireless/scsc/hip4.h