diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-07-26 20:15:23 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-28 21:49:59 -0700 |
commit | d11ef9cc5a6792c8508cb00308b604836f9a9053 (patch) | |
tree | 9bec7ff4e494db67b40532b41dc4ed877ba1352b /net/tls | |
parent | 70f03fc2fc142d8c18e891dfa55ae8c5579f1e82 (diff) | |
download | linux-stable-d11ef9cc5a6792c8508cb00308b604836f9a9053.tar.gz linux-stable-d11ef9cc5a6792c8508cb00308b604836f9a9053.tar.bz2 linux-stable-d11ef9cc5a6792c8508cb00308b604836f9a9053.zip |
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 <pabeni@redhat.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/tls')
-rw-r--r-- | net/tls/tls_strp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_strp.c b/net/tls/tls_strp.c index b945288c312e..3f1ec42a5923 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; |