Give the 0th domain's page daemon thread a consistent name.

Page daemon threads for other domains show up in ps(1) output as
"pagedaemon/domN", so let that be the case for domain 0 as well.

Submitted by:	Kevin Bowling <kevin.bowling@kev009.com>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D14518
This commit is contained in:
Mark Johnston 2018-02-27 16:51:09 +00:00
parent 4a744c0e9d
commit 3b8cf4acf0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330075

View File

@ -1935,6 +1935,7 @@ vm_pageout(void)
int i;
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)