-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: buf: Disallow blocking allocation in syswq
Work items on the syswq should always run-to-completion. Override the timeout value to always be K_NO_WAIT. Allocating with K_FOREVER leads to deadlocks if the freeing also happens from the syswq. Non-zero timeouts are also not nice for the other users of the syswq. (cherry picked from commit b08b1c2) Original-Signed-off-by: Jonathan Rico <jonathan.rico@nordicsemi.no> GitOrigin-RevId: b08b1c2 Change-Id: Icb45e148317eb510473ddcdfba62126dec5e56e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5482305 Tested-by: Dawid Niedźwiecki <dawidn@google.com> Commit-Queue: Dawid Niedźwiecki <dawidn@google.com> Reviewed-by: Dawid Niedźwiecki <dawidn@google.com> Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
- Loading branch information
1 parent
7f8a292
commit 53b0108
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters