From: Jakub Kicinski Date: Wed, 27 Jul 2022 03:15:23 +0000 (-0700) Subject: tls: strp: rename and multithread the workqueue X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d11ef9cc5a6792c8508cb00308b604836f9a9053;p=linux.git tls: strp: rename and multithread the workqueue Paolo points out that there seems to be no strong reason strparser users a single threaded workqueue. Perhaps there were some performance or pinning considerations? Since we don't know (and it's the slow path) let's default to the most natural, multi-threaded choice. Also rename the workqueue to "tls-". Suggested-by: Paolo Abeni Signed-off-by: Jakub Kicinski --- diff --git a/net/tls/tls_strp.c b/net/tls/tls_strp.c index b945288c312e5..3f1ec42a59233 100644 --- a/net/tls/tls_strp.c +++ b/net/tls/tls_strp.c @@ -480,7 +480,7 @@ void tls_strp_done(struct tls_strparser *strp) int __init tls_strp_dev_init(void) { - tls_strp_wq = create_singlethread_workqueue("kstrp"); + tls_strp_wq = create_workqueue("tls-strp"); if (unlikely(!tls_strp_wq)) return -ENOMEM;