remove redundant "ktls" in KTLS thr name

This reducesthe string width of the ktls thread name
and improves "ps" output.

Glanced at by: jhb
Event: EuroBSDCon hackathon
Sponsored by:	Netflix
This commit is contained in:
Andrew Gallatin 2019-09-20 09:36:07 +00:00
parent 8b43027381
commit 61b8a4af71
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352552

View File

@ -349,7 +349,7 @@ ktls_init(void *dummy __unused)
STAILQ_INIT(&ktls_wq[i].head);
mtx_init(&ktls_wq[i].mtx, "ktls work queue", NULL, MTX_DEF);
error = kproc_kthread_add(ktls_work_thread, &ktls_wq[i],
&ktls_proc, &td, 0, 0, "KTLS", "ktls_thr_%d", i);
&ktls_proc, &td, 0, 0, "KTLS", "thr_%d", i);
if (error)
panic("Can't add KTLS thread %d error %d", i, error);