| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
| |
|
|
|
|
| |
ok tedu@
|
|
|
|
|
|
|
|
|
|
| |
related to disk stastics for almost 17 years, and the remaining
userland-visible defines duplicate those found in <sys/sched.h>.
Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and
update all users to cope with this.
ok kettenis@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
| |
don't need to be married.
ok guenther miod beck jsing kettenis
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pools struct out. however, struct pool in the kernel contains lots
of things that userland probably isnt interested in, like actual
mutexes, and probably shouldnt get easy access to, like pointers
to kernel memory via all the lists/trees.
this implements a kinfo_pool structure that has only the data that
userland needs to know about. it cuts the sysctl code over to
building it from struct pool as required and copying that out
instead, and cuts userland over to only handling kinfo_pool.
the only problem with this is vmstat, which can read kernel images
via kvm, which needs some understanding of struct pool. to cope,
the struct pool definition is guarded by if defined(_KERNEL) ||
defined(_LIBKVM) as inspired by sysctl which needs to do the same
thing sometimes. struct pool itself is generally not visible to
userland though, which is good.
matthew@ suggested struct kinfo_pool instead of struct pool_info.
the kinfo prefix has precedent.
lots of people liked this.
|
|
|
|
|
|
|
| |
include <sys/vmmeter.h> where it is needed instead of relying on
it being included by <uvm/uvm_extern.h>.
miod@ likes it, ok guenther@
|
|
|
|
| |
ok okan
|
|
|
|
| |
ok mikeb@ bluhm@
|
| |
|
|
|
|
|
|
|
| |
so that averages/rates are over the actual time-running-not-suspended.
For kernel cores, peek at the 'time_uptime' and 'naptime' variables.
original report by and ok mlarkin@
|
|
|
|
| |
suggestions and ok millert@
|
|
|
|
|
|
|
| |
lines in dopool_sysctl() have been removed from vmstat.c revision
1.116. Remove uvm_km_pages_free from dopool_kvm() to allow analysing
a core dump.
OK guenther@ miod@
|
| |
|
|
|
|
| |
found the hard way by otto.
|
| |
|
|
|
|
| |
tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
|
|
|
|
| |
ok thib@
|
|
|
|
|
|
|
|
|
|
|
| |
changes it was returing a constant 0, changing to cope
with those changes makes less sense then just removing
as it provides the user with no usefull information.
sthen@ grepped the port's tree for me and found not hits,
thanks!
OK deraadt@, matthew@
|
|
|
|
| |
ok matthew@ millert@ deraadt@
|
|
|
|
|
|
| |
add a -c count option to netstat.
tweak spacing to not smear fields in vmstat.
ok deraadt sthen
|
|
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
|
|
|
| |
zap the PCT() macro that was a holdover from before we had prototypes.
ok gilles@, deraadt@
|
|
|
|
|
|
| |
do until when we tweak struct uvmexp to have unsigned 64 bit counters,
and when we do, it will not break.
from PR 4046, ok millert
|
|
|
|
| |
deraadt@ art@
|
|
|
|
| |
ok jmc@
|
|
|
|
| |
ok jsing@
|
|
|
|
|
| |
not setgid kmem (hurray!)
ok tedu, tested jsg
|
|
|
|
|
|
|
|
| |
- the "fre" column width is increased
- adds a whitespace between the "avm" and "fre" columns
- aligns the "memory" and "traps" labels with their column sets
ok millert@
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
ok mickey@
|
| |
|
| |
|
|
|
|
| |
ok deraadt@ millert@ moritz@
|
| |
|
|
|
|
| |
not incremented anymore. Kernel-side code will be removed in a few weeks.
|
|
|
|
|
| |
on live kernels now, though.
ok deraadt@
|
|
|
|
| |
ok hshoexer@ jaredy@ deraadt@
|
| |
|
|
|
|
| |
changes written by danh
|
| |
|
| |
|
|
|
|
|
|
| |
sysctl to fetch interrupt counters on all architectures. Also add new '-z'
flag to vmstat which means show all devices, even those that have not yet
generated an interrupt. deraadt@ tholo@ drahn@ millert@ ok
|