Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2019 09:36:08 +0000 (UTC)
From:      Andrew Gallatin <gallatin@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352552 - head/sys/kern
Message-ID:  <201909200936.x8K9a8m3086788@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909200936.x8K9a8m3086788>