kernel: Replace workqueue creation with alloc_workqueue for improved performance

This commit is contained in:
ShirkNeko
2025-10-23 21:40:17 +08:00
parent 31fb74616d
commit 923153db70

View File

@@ -415,7 +415,7 @@ cleanup:
int ksu_sulog_init(void) int ksu_sulog_init(void)
{ {
sulog_workqueue = create_singlethread_workqueue("ksu_sulog"); sulog_workqueue = alloc_workqueue("ksu_sulog", WQ_UNBOUND | WQ_HIGHPRI, 1);
if (!sulog_workqueue) { if (!sulog_workqueue) {
pr_err("sulog: failed to create workqueue\n"); pr_err("sulog: failed to create workqueue\n");
return -ENOMEM; return -ENOMEM;