[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)
committerYoungmin Nam <youngmin.nam@samsung.com>
Tue, 21 May 2019 10:45:21 +0000 (19:45 +0900)
commit53cc0443cb8f98494c882f6913801c1412ca0e6f
treeaa1f799331a7e71355133a8f9042ba20ec8d8520
parent9bd951ae9ca6815e5f6e090ce7ddd771af3ceff8
[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