mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-18 10:04:49 +00:00
Currently hns3 ring buffer init process would hold cpu too long with big
Tx/Rx ring depth. This could cause soft lockup.
So this patch adds cond_resched() to the process. Then cpu can break to
run other tasks instead of busy looping.
Fixes:
|
||
|---|---|---|
| .. | ||
| hns | ||
| hns3 | ||
| hip04_eth.c | ||
| hisi_femac.c | ||
| hix5hd2_gmac.c | ||
| hns_mdio.c | ||
| Kconfig | ||
| Makefile | ||