Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2018 16:16:30 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330544 - stable/11/sys/vm
Message-ID:  <201803061616.w26GGUwl075974@repo.freebsd.org>

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



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