svn commit: r352552 - head/sys/kern

Andrew Gallatin gallatin at FreeBSD.org
Fri Sep 20 09:36:08 UTC 2019


Author: gallatin
Date: Fri Sep 20 09:36:07 2019
New Revision: 352552
URL: https://svnweb.freebsd.org/changeset/base/352552

Log:
  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

Modified:
  head/sys/kern/uipc_ktls.c

Modified: head/sys/kern/uipc_ktls.c
==============================================================================
--- head/sys/kern/uipc_ktls.c	Fri Sep 20 09:04:52 2019	(r352551)
+++ head/sys/kern/uipc_ktls.c	Fri Sep 20 09:36:07 2019	(r352552)
@@ -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);
 


More information about the svn-src-all mailing list