Bluetooth: host: add dedicated WQ for long-running tasks
Send long-running tasks to a dedicated low-priority workqueue. This shouldn't increase memory usage since by doing this, we get rid of the ECC processing thread. This should fix issues like #43811, since the system workqueue runs at a cooperative priority, and the new dedicated one runs at a pre-emptible priority. Fixes #43811 Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no>
This commit is contained in:
parent
cf19d7ef82
commit
3c5bf5089a
9 changed files with 106 additions and 48 deletions
|
@ -12,6 +12,7 @@ zephyr_library_sources_ifdef(CONFIG_BT_RFCOMM rfcomm.c)
|
|||
zephyr_library_sources_ifdef(CONFIG_BT_TESTING testing.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_SETTINGS settings.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_HOST_CCM aes_ccm.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_LONG_WQ long_wq.c)
|
||||
|
||||
zephyr_library_sources_ifdef(
|
||||
CONFIG_BT_BREDR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue