#
c44296f9 |
| 18-May-2024 |
jsg <jsg@openbsd.org> |
remove prototypes with no matching function
|
#
3aaa63eb |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary 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.
show more ...
|
#
88697374 |
| 20-Jun-2018 |
krw <krw@openbsd.org> |
Remove unused variable. Make clang happier.
|
#
6bafd4b4 |
| 11-Feb-2018 |
martijn <martijn@openbsd.org> |
Make sorting in the pcache view work. This allows us to sort on all shown columns. There's still parts that could do with a good polishing, but it's an improvement.
OK tedu@
|
#
f54fb021 |
| 08-Feb-2018 |
martijn <martijn@openbsd.org> |
Make pool order on size actually order on size instead of size*inuse.
Prompted by and OK otto@
|
#
c8fa102b |
| 31-Jul-2017 |
dlg <dlg@openbsd.org> |
print the number of GCs with print_fld_size instead of print_fld_uint.
this makes a large number of GCs appear as something like "26K" instead of "*".
|
#
a26d1459 |
| 29-Jul-2017 |
florian <florian@openbsd.org> |
return -1 in error path of non-void function, pointed out by clang OK deraadt
|
#
9a59f808 |
| 23-Jun-2017 |
dlg <dlg@openbsd.org> |
change the semantic for calculating when to grow the size of a cache list.
previously it would figure out if there's enough items overall for all the cpus to have full active an inactive free lists.
change the semantic for calculating when to grow the size of a cache list.
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@
show more ...
|
#
e5c4f7c0 |
| 15-Jun-2017 |
dlg <dlg@openbsd.org> |
add a rough start to a pcache view, to show pool cpu cache info.
ok mikeb@ millert@
|
#
3976055b |
| 12-Mar-2016 |
sthen <sthen@openbsd.org> |
Use 12 chars for pool name in "systat pool" to match vmstat -m. ok stefan@
|
#
8f6b3baf |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
first batch of programs adapting to the namespace cleanup (pfvar.h nameser.h proc.h ucred.h) ok guenther millert, and some review from doug as well.
|
#
7e81aea1 |
| 08-Oct-2014 |
doug <doug@openbsd.org> |
userland reallocarray audit.
Replace malloc() and realloc() calls that may have integer overflow in the multiplication of the size argument with reallocarray().
ok deraadt@
|
#
974e52eb |
| 14-Aug-2014 |
mpi <mpi@openbsd.org> |
Show only active pools by default, pressing 'A' shows all of them.
ok deraadt@
|
#
c7a72319 |
| 02-Jul-2014 |
dlg <dlg@openbsd.org> |
info about pools is currently given to userland by copying each pools struct out. however, struct pool in the kernel contains lots of things that userland probably isnt interested in, like actual mut
info about pools is currently given to userland by copying each 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.
show more ...
|
#
596a8091 |
| 02-Mar-2011 |
jasper <jasper@openbsd.org> |
- use a common FIELD_ADDR macro, instead of rolling 78 identical copies.
ok canacar@
|
#
d187fdc7 |
| 31-Dec-2008 |
canacar <canacar@openbsd.org> |
Skip missing pool indices instead of printing errors.
|
#
28dee9a3 |
| 07-Dec-2008 |
canacar <canacar@openbsd.org> |
Add option to order the pool view by size and number of pages columns.
|
#
c91ca4a4 |
| 05-Nov-2008 |
chl <chl@openbsd.org> |
add missing header needed by strcmp/strerror/memset functions.
ok canacar@
|
#
c222c872 |
| 02-Nov-2008 |
canacar <canacar@openbsd.org> |
Add the option to sort by requests to the pool view, and document the hotkeys 'o' to select and 'r' to reverse column orderings.
|
#
84592589 |
| 02-Nov-2008 |
canacar <canacar@openbsd.org> |
Add a view that displays pool(9) information. Idea and ok deraadt@
|