Age | Commit message (Collapse) | Author |
|
This flag is set whenever a timeout is put on the wheel and cleared upon
(a) running, (b) deletion, and (c) readdition. It serves two purposes:
1. Facilitate distinguishing scheduled and rescheduled timeouts. When a
timeout is put on the wheel it is "scheduled" for a later softclock().
If this happens two or more times it is also said to be "rescheduled".
The tos_rescheduled value thus indicates how many distant timeouts
have been cascaded into a lower wheel level.
2. Eliminate false late timeouts. A timeout is not late if it is due
before softclock() has had a chance to schedule it. To track this we
need additional state, hence a new flag.
rprocter@ raises some interesting questions. Some answers:
- This interface is not stable and name changes are possible at a
later date.
- Although rescheduling timeouts is a side effect of the underlying
implementation, I don't forsee us using anything but a timeout wheel
in the future. Other data structures are too slow in practice, so
I doubt that the concept of a rescheduled timeout will be irrelevant
any time soon.
- I think the development utility of gathering these sorts of statistics
is high. Watching the distribution of timeouts under a given workflow
is informative.
ok visa@
|
|
|
|
|
|
to ps(1).
Noted by kettenis@. florian@'s fix pointed out by maestre@.
ok maestre@
|
|
With these totals one can track the throughput of the timeout(9) layer
from userspace.
With input from mpi@.
ok mpi@
|
|
|
|
ok visa@ deraadt@
|
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
discussed by many.
Additionally call ctime(3) before unveil(2) in order to avoid potential $TZ
expansion and therefore avoiding opening more files that would need to be read,
idea from deraadt@.
While here sort the headers alphabetically.
OK florian@ deraadt@
|
|
ignore if sysctl -a is used.
OK bluhm@
|
|
it could get stuck in an endless loop. After sensors sysctl(2)
fails, do not continue using uninitialized memory. Catch the error,
print a warning, and skip the sensors.
OK benno@ visa@ deraadt@
|
|
The new node contains the subsystem's main control variable,
kern.witness.watch. It is aliased by the old name, kern.witnesswatch.
The alias will be removed in the future.
OK anton@ mpi@
|
|
Change distance sensor type to be displayed as meters with 3 decimals
instead of millimeters.
ok mpi@ kettenis@
|
|
|
|
to unsigned int.
OK deraadt@
|
|
Prompted by kn@
|
|
can be removed from struct mount.
As a result of this diff, arrays vfsname[] and vfsvars[] are indexed
by filesystem typenum. This makes the vfs_typenums[] array redundant.
OK bluhm@ mpi@
|
|
|
|
|
|
knob to take the new "sysctl" value, which is the default. In this
case, the device behavior is determined by the new "kern.audio.record"
sysctl(2), which defaults to zero.
ok florian
|
|
instead of "oldval -> newval" when changing a string variable.
OK florian@
|
|
ok millert
|
|
strings.
this was part of a demo showing how to implement the kernel side of
sysctl(3) for setting Semantically Opaque Interface Identifier key
material (for RFC 7217), but it seems to be the most straightforward
path toward integrating soiikey handling and rc.
Originally written by dlg, who commited it some time ago on my request.
I then backed it out again, now it's time to put it back in.
ok florian@ sthen@ naddy@ tb@
Man page bits tweaked & OK jmc
|
|
|
|
in the wrong direction.
|
|
this was part of a demo showing how to implement the kernel side of
sysctl(3) for setting Semantically Opaque Interface Identifier key
material, but it seems to be the most straightforward path toward
integrating soiikey handling and rc.
ok florian@ sthen@ naddy@ tb@
|
|
update their descriptions. In sysctl.8 refer to /etc/sysctl.conf in FILES.
discussed with and ok jmc
|
|
checking, make somaxconn and sominconn unsigned.
Issue reported by orge on freenode, thanks!
Input, patient explanations and ok deraadt, millert.
|
|
described in sysctl(3) and a list of available sysctls on any particular
machine is best retrieved using sysctl; text tweaked by schwarze
ok bluhm millert deraadt schwarze
|
|
state even with a correct kernel.
Reported by jmc@, ok tb@
|
|
By setting "machdep.forceukbd=1" you can now use your USB keyboard in
ddb(4) even if your BIOS emulates a pckbd(4).
ok tom@, kettenis@, deraadt@
|
|
prodded by Stefan Wollny via tb
ok tb jmc
|
|
ok mpi@
|
|
not overflow because the initial count includes empty slots; ok tb@
|
|
|
|
ok krw@ beck@
|
|
|
|
from rob pierce
|
|
paths of libevent). This interface was the first generation of what
eventually became getentropy(2) and arc4random(3) -- june 1997!
Ports scan by sthen, general agreement guenther
|
|
tweaks and ok guenther
|
|
|
|
noticed by pirofti
|
|
yuo@ grumpy.
ok tom guenther yuo
|
|
ok deraadt@
|
|
Use memcpy() instead of up-casting from char* to long long*
ok krw@
|
|
|
|
|
|
swapping between two syn caches for random reseeding anyway, this
feature can be added easily. When the cache is empty, there is an
opportunity to change the hash size. This allows an admin under
SYN flood attack to defend his machine.
Suggested by claudio@; OK jung@ claudio@ jmc@
|
|
|
|
|