svn commit: r330544 - stable/11/sys/vm

Mark Johnston markj at FreeBSD.org
Tue Mar 6 16:16:31 UTC 2018


Author: markj
Date: Tue Mar  6 16:16:30 2018
New Revision: 330544
URL: https://svnweb.freebsd.org/changeset/base/330544

Log:
  MFC r330075:
  Give the 0th domain's page daemon thread a consistent name.

Modified:
  stable/11/sys/vm/vm_pageout.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/vm/vm_pageout.c
==============================================================================
--- stable/11/sys/vm/vm_pageout.c	Tue Mar  6 16:10:47 2018	(r330543)
+++ stable/11/sys/vm/vm_pageout.c	Tue Mar  6 16:16:30 2018	(r330544)
@@ -1863,6 +1863,7 @@ vm_pageout(void)
 #endif
 
 	swap_pager_swap_init();
+	snprintf(curthread->td_name, sizeof(curthread->td_name), "dom0");
 	error = kthread_add(vm_pageout_laundry_worker, NULL, curproc, NULL,
 	    0, 0, "laundry: dom0");
 	if (error != 0)


More information about the svn-src-stable mailing list