rename the process to 'idle' and 'intr' as per jhb.
This commit is contained in:
parent
fbf7046447
commit
9ef95d0105
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173051
@ -64,11 +64,11 @@ idle_setup(void *dummy)
|
||||
#endif
|
||||
#ifdef SMP
|
||||
error = kproc_kthread_add(sched_idletd, NULL, &p, &td,
|
||||
RFSTOPPED | RFHIGHPID, 0, "idled", "idle: cpu%d", pc->pc_cpuid);
|
||||
RFSTOPPED | RFHIGHPID, 0, "idle", "idle: cpu%d", pc->pc_cpuid);
|
||||
pc->pc_idlethread = td;
|
||||
#else
|
||||
error = kproc_kthread_add(sched_idletd, NULL, &p, &td,
|
||||
RFSTOPPED | RFHIGHPID, 0, "idled", "idle");
|
||||
RFSTOPPED | RFHIGHPID, 0, "idle", "idle");
|
||||
PCPU_SET(idlethread, td);
|
||||
#endif
|
||||
if (error)
|
||||
|
@ -338,7 +338,7 @@ ithread_create(const char *name)
|
||||
|
||||
error = kproc_kthread_add(ithread_loop, ithd, &intrproc,
|
||||
&td, RFSTOPPED | RFHIGHPID,
|
||||
0, "interd", "%s", name);
|
||||
0, "intr", "%s", name);
|
||||
if (error)
|
||||
panic("kproc_create() failed with %d", error);
|
||||
thread_lock(td);
|
||||
@ -362,7 +362,7 @@ ithread_create(const char *name, struct intr_handler *ih)
|
||||
|
||||
error = kproc_kthread_create(ithread_loop, ih, &intrproc,
|
||||
&td, RFSTOPPED | RFHIGHPID,
|
||||
0, "interd", "%s", name);
|
||||
0, "intr", "%s", name);
|
||||
if (error)
|
||||
panic("kproc_create() failed with %d", error);
|
||||
thread_lock(td);
|
||||
|
Loading…
Reference in New Issue
Block a user