- Describe all system threads.
- Mention all MI threads that are not device specific; i.e. mention scsibus, usb, raidframe, nfs, but not pms.
This commit is contained in:
parent
2251734558
commit
46f02625cb
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: intro.2,v 1.36 2003/11/25 15:33:58 kleink Exp $
|
||||
.\" $NetBSD: intro.2,v 1.37 2004/01/07 16:26:23 christos Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1980, 1983, 1986, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -590,21 +590,65 @@ A process is recognized as a
|
||||
.Em super-user
|
||||
process and is granted special privileges if its effective user ID is 0.
|
||||
.It Special Processes
|
||||
The processes with process IDs of 0, 1, 2, 3, and 4 are special.
|
||||
The processes with process IDs of 0 and 1 are special.
|
||||
Process 0 is the scheduler.
|
||||
Process 1 is the initialization process
|
||||
.Xr init 8 ,
|
||||
and is the ancestor (parent) of every other process in the system.
|
||||
It is used to control the process structure.
|
||||
Process 2 is the paging daemon.
|
||||
Process 3 is the
|
||||
.Sy reaper ,
|
||||
which handles deallocating resources for exiting processes.
|
||||
Process 4 is
|
||||
.Sy ioflush ,
|
||||
which replaces the old
|
||||
The kernel will allocate other kernel threads to handle certain
|
||||
periodic tasks or device related tasks, such as:
|
||||
.Bl -tag -width pagedaemon
|
||||
.It Sy acctwatch
|
||||
System accounting disk watcher, see
|
||||
.Xr acct 2 ,
|
||||
.Xr acct 4 .
|
||||
.It Sy aiodoned
|
||||
Asynchronous I/O done handler, see
|
||||
.Xr uvm 9 .
|
||||
.It Sy atabusX
|
||||
ATA bus handler, see
|
||||
.Xr ata 4 .
|
||||
.It Sy cardslotX
|
||||
Cardbus slot watcher thread, see
|
||||
.Xr cardslot 4 .
|
||||
.It Sy cryptoret
|
||||
The software crypto daemon.
|
||||
.It Sy fssbsX
|
||||
File system snapshot thread, see
|
||||
.Xr fss 4 .
|
||||
.It Sy ioflush
|
||||
The in-kernel periodic flush the buffer cache to disk task,
|
||||
which replaces the old
|
||||
.Sy update
|
||||
program that periodically flushes the disk buffer cache.
|
||||
program.
|
||||
.It Sy nfsio, nfskqpoll
|
||||
NFS handing daemons.
|
||||
.It Sy lfs_writer
|
||||
Log filesystem writer.
|
||||
.It Sy pagedaemon
|
||||
The page daemon.
|
||||
.It Sy raidX, raidioX, raid_parity, raid_recon, raid_reconip, raid_copyback
|
||||
Raid framework related threads, see
|
||||
.Xr raid 4 .
|
||||
.It Sy scsibusX
|
||||
SCSI bus handler, see
|
||||
.Xr scsi 4 .
|
||||
.It Sy smbiodX, smbkq
|
||||
SMBFS handling daemon, see
|
||||
.Xr netsmb 4 .
|
||||
.It Sy swdmover
|
||||
The software data mover I/O thread, see
|
||||
.Xr dmoverio 4 .
|
||||
.It Sy sysmon
|
||||
The systems monitoring framework daemon.
|
||||
.It Sy usbX, usbtask
|
||||
USB bus handler, see
|
||||
.Xr usb 4 .
|
||||
.El
|
||||
.Pp
|
||||
There are more machine-dependent kernel threads allocated by different drivers.
|
||||
See the specific driver manual pages for more information.
|
||||
.It Descriptor
|
||||
An integer assigned by the system when a file is referenced
|
||||
by
|
||||
|
Loading…
Reference in New Issue
Block a user