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:
parent
8b43027381
commit
61b8a4af71
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=352552
@ -349,7 +349,7 @@ ktls_init(void *dummy __unused)
|
|||||||
STAILQ_INIT(&ktls_wq[i].head);
|
STAILQ_INIT(&ktls_wq[i].head);
|
||||||
mtx_init(&ktls_wq[i].mtx, "ktls work queue", NULL, MTX_DEF);
|
mtx_init(&ktls_wq[i].mtx, "ktls work queue", NULL, MTX_DEF);
|
||||||
error = kproc_kthread_add(ktls_work_thread, &ktls_wq[i],
|
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)
|
if (error)
|
||||||
panic("Can't add KTLS thread %d error %d", i, error);
|
panic("Can't add KTLS thread %d error %d", i, error);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user