Subject: Heads up, kernel changes
To: None <current-users@netbsd.org>
From: Andrew Doran <ad@netbsd.org>
List: current-users
Date: 07/09/2007 22:23:52
Hi,

I just committed a bunch of changes from the vmlocking branch to the kernel.
Most of them are fairly mechanical changes after modifications to the kernel
APIs for callouts, kthreads and device access. I don't expect major upheaval
but undoubtedly there will be some fallout as the changes were fairly
extensive.

The only visible change should be that kthreads no longer get a process each
but are now threads within process 0 (formerly the swapper). To see them you
need 'ps axs' or 'top -t'.

Thanks,
Andrew

# ps ax
  PID TTY   STAT    TIME COMMAND
    0 ?     DKsl 0:00.00 [system]
    1 ?     Ss   0:00.00 init
  105 ?     Ss   0:00.00 /usr/sbin/syslogd -s
  126 ?     Isl  0:00.00 /usr/sbin/named
  134 ?     Ss   0:00.00 /usr/sbin/rpcbind -l
  148 ?     Ss   0:00.00 mount_mfs -s 532224 /dev/wd1b /tmp
  267 ?     Ss   0:00.00 /usr/sbin/ntpd
  285 ?     Is   0:00.00 /usr/sbin/sshd
  337 ?     Is   0:00.00 /usr/sbin/inetd -l
  338 ?     Ss   0:00.00 /usr/sbin/cron
  365 ?     S    0:00.00 sshd: ad@ttyp0
  366 ?     Is   0:00.00 sshd: ad [priv]
  360 ttyp0 Ss   0:00.00 -ksh
 9626 ttyp0 S    0:00.00 ksh
29064 ttyp0 R+   0:00.00 ps -ax
  373 tty00 Is+  0:00.00 /usr/libexec/getty Pc console
#