Age | Commit message (Collapse) | Author |
|
this makes a large number of GCs appear as something like "26K"
instead of "*".
|
|
OK deraadt
|
|
The FQ-CoDel related configuration (flows, quantum) becomes available
for the regular bandwidth queue. Internally the kernel will pick the
FQ-CoDel for use as a queue manager for the specified class instead of
the FIFO.
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
|
|
previously it would figure out if there's enough items overall for
all the cpus to have full active an inactive free lists. this
included currently allocated items, which pools wont actually hold
on a free list and cannot predict when they will come back.
instead, see if there's enough items in the idle lists in the depot
that could instead go on all the free lists on the cpus. if there's
enough idle items, then we can grow.
tested by hrvoje popovski and amit kulkarni
ok visa@
|
|
ok mikeb@ millert@
|
|
time_second. Since time_second changes depending on the wall-
clock time, time_second is not a reliable source for the status.
We can even end up with a negative time delta. Thus, use the
monotonically growing time_uptime and export it to userland.
ok bluhm@ mikeb@
|
|
This (ab)uses the fact that node->qstats.data.period field in
hfsc_class_stats structure is at the same offset as the 'flows'
field in fqcodel_stats.
While here make use of a presently empty field "SCH" to display
the queue management policy (flow or fifo) which is not strictly
a scheduler, but it will hopefully become descriptive and useful
later. This distinguishes flow queues from the regular HFSC ones.
OK sthen, visa
|
|
Carl Mascott has reported the issue and helped with the fix. OK tb
|
|
|
|
Since only leaf queues can have packets assigned to them,
H-FSC requires the user specified root queue to have a
parent. To simplify userland tools and the configuration
interface, the kernel can be leveraged to set it up.
ok henning
|
|
nits from deraadt@
ok krw@ guenther@ kettenis@
|
|
w/ millert
|
|
|
|
ok deraadt@
|
|
incoming socket, so userspace doesn't need to set it unless it has its
own reasons for tracking the size along with the sockaddr.
ok phessler@ deraadt@ florian@
|
|
Leftovers from the re-engining of systat eight years ago. Makes gcc
quieter.
ok otto@ deraadt@
|
|
'vetherXY' fits
ok deraadt@ mpi@
|
|
in case line numbers and/or PAUSED is shown; ok tedu@
|
|
|
|
ok deraadt@
|
|
Convert bzero() to memset() and bcopy() to memcpy()
ok natano@ millert@
|
|
in systat
ok canacar@
|
|
removal from mbuf.h. ok mpi@
|
|
|
|
1. peak and rate computations were using uint32 size which caused
the fields from working for states that transferred more than 4GB
also fix an unnecessary cast to double found while looking for the bug.
2. When creating new cache entries for existing states, start time from
0 rather than the current time to prevent a "spike" in rate and peak.
|
|
loglevel_to_string() uses "unknown" as well)
ok kettenis@ florian@
|
|
ok kettenis@ florian@
|
|
remove useless decleration of variable change.
ok kettenis@ florian@
|
|
found by evh -AT- riseup -DOT- net, ok florian@
|
|
|
|
ok krw millert
|
|
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
|
error path.
|
|
function similar to netstat(1). The output still shows the same
info but may be a bit differently sorted. Also it will now show
connections that are not UDP or TCP. This was the last bit of
systat that needed kvm access and so now systat no longer needs
to be setgid kmem.
With this commit OpenBSD is officially setgid kmem free and an
almost 10 year journey finally comes to an end.
OK deraadt@
|
|
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
modulate states displaying as "Syn".
ok henning@
|
|
delete <sys/param.h> if now possible
ok guenther
|
|
|
|
(pfvar.h nameser.h proc.h ucred.h)
ok guenther millert, and some review from doug as well.
|
|
ok tedu@
|
|
|
|
So remove the call to setnetent(3) which is a no-op
here (except for consuming a file descriptor)
and the call sethostent(3) which is a no-op in general.
Also remove the misleading reference to networks(5) from the manual.
OK okan@ henning@
|
|
ok dlg@
|
|
Avoid potential integer overflow in the size argument of malloc() and
realloc() by using reallocarray() to avoid unchecked multiplication.
ok deraadt@
|
|
Replace malloc() and realloc() calls that may have integer overflow in the
multiplication of the size argument with reallocarray().
ok deraadt@
|
|
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@
|
|
|
|
|