#
05b7c210 |
| 19-Jan-2024 |
deraadt <deraadt@openbsd.org> |
M_PINSYSCALL is for pinsyscalls(2), not pinsyscall(2)
|
#
419215b4 |
| 19-Dec-2023 |
deraadt <deraadt@openbsd.org> |
add a malloc type for pinsyscall arrays
|
#
dcc80c79 |
| 03-Jul-2023 |
guenther <guenther@openbsd.org> |
Bring malloc(9) and <sys/malloc.h> into sync for M_* entries, such that the former's text comes from the latter's comments. Rationalize capitalization, whitespace, and plural-vs-singular. Mark thin
Bring malloc(9) and <sys/malloc.h> into sync for M_* entries, such that the former's text comes from the latter's comments. Rationalize capitalization, whitespace, and plural-vs-singular. Mark things for for automation in the future.
Prompted by loss of sync from the addition of M_IFGROUP and M_PF Previously worked up in discussion with schwarze@ and jmc@
ok deraadt@, miod@, jmc@
show more ...
|
#
1dd8f56f |
| 17-Mar-2023 |
millert <millert@openbsd.org> |
Document M_LOG flag; from Peter J. Philipp.
|
#
a989b290 |
| 03-Feb-2022 |
guenther <guenther@openbsd.org> |
Delete unused/obsolete M_* type values.
ok miod@ mpi@
|
#
eb34598c |
| 07-Feb-2019 |
visa <visa@openbsd.org> |
Add lock stack trace saving for witness(4).
This lets witness(4) save a stack trace on each lock acquisition. The saved traces can be viewed in ddb(4) when showing the currently held locks, which ma
Add lock stack trace saving for witness(4).
This lets witness(4) save a stack trace on each lock acquisition. The saved traces can be viewed in ddb(4) when showing the currently held locks, which may help when debugging incorrect locking.
Sample output:
ddb{0}> show all locks Process 63836 (rm) thread 0xffff8000221e52c8 (435004) exclusive rrwlock inode r = 0 (0xfffffd8119a092c0) locked @ /usr/src/sys/ufs/ufs/ufs_vnops.c:1547 #0 witness_lock+0x419 #1 _rw_enter+0x2bb #2 _rrw_enter+0x42 #3 VOP_LOCK+0x3f #4 vn_lock+0x36 #5 vfs_lookup+0xa1 #6 namei+0x2b3 #7 dounlinkat+0x85 #8 syscall+0x338 #9 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff81e6a5f0) locked @ /usr/src/sys/arch/amd64/amd64/intr.c:525 #0 witness_lock+0x419 #1 syscall+0x2b6 #2 Xsyscall+0x128
The saving adds overhead, so it is not enabled by default. It can be taken into use by setting sysctl kern.witness.locktrace=1 at runtime or by defining WITNESS_LOCKTRACE in the kernel configuration.
Feedback and OK anton@
show more ...
|
#
cf1fd37a |
| 18-Jan-2019 |
visa <visa@openbsd.org> |
Add missing types, and fix incorrect names.
|
#
4f933137 |
| 27-Nov-2017 |
mpi <mpi@openbsd.org> |
Remove MALLOC_DEBUG left overs.
From Klemens Nanni.
|
#
c91462b0 |
| 27-Oct-2017 |
visa <visa@openbsd.org> |
Allocate IPv6 reassembly structs using pools instead of malloc(), and drop the now redundant allocation type M_FTABLE.
OK mikeb@, bluhm@, mpi@
|
#
450873af |
| 14-Nov-2016 |
dlg <dlg@openbsd.org> |
M_COUNTERS is a thing
|
#
acb4616d |
| 24-Aug-2015 |
mpi <mpi@openbsd.org> |
Rename M_RTABLE bucket into "rtable" to match the code and kill unused M_BWMETER.
ok mikeb@
|
#
f49fb7a9 |
| 19-Nov-2014 |
deraadt <deraadt@openbsd.org> |
document when to pass free() a size, and hey -- if it is impossible track it down, that is ok, you can pass 0. (but it is slower)
|
#
09212054 |
| 02-Nov-2014 |
tedu <tedu@openbsd.org> |
tweak wording and update panic messages
|
#
f44ef4d7 |
| 20-Aug-2014 |
mikeb <mikeb@openbsd.org> |
Remove userland bits related to the crypto(4) interface; ok deraadt
|
#
b2f88665 |
| 23-Jul-2014 |
jmc <jmc@openbsd.org> |
tweak previous;
|
#
ae748dc1 |
| 23-Jul-2014 |
dlg <dlg@openbsd.org> |
document mallocarray like malloc throughout the page. better describe what M_CANFAIL means for each.
motivation and initial diff from doug hogan
|
#
23190ce1 |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
add a size argument to free. will be used soon, but for now default to 0. after discussions with beck deraadt kettenis.
|
#
fc77a86e |
| 12-Jul-2014 |
tedu <tedu@openbsd.org> |
remove bluetooth malloc types
|
#
0f5d97f9 |
| 10-Jul-2014 |
matthew <matthew@openbsd.org> |
Oops, fix man page typo.
thx Jean-Philippe Ouellet
|
#
2bb3378b |
| 10-Jul-2014 |
matthew <matthew@openbsd.org> |
Add mallocarray(9)
While here, change malloc(9)'s size argument from "unsigned long" to "size_t".
ok tedu
|
#
3c7bebc2 |
| 03-Apr-2014 |
lteo <lteo@openbsd.org> |
Sync malloc(9) M_* types with sys/malloc.h
|
#
407a23c3 |
| 27-Mar-2014 |
jmc <jmc@openbsd.org> |
tweak previous; help/ok dlg
|
#
5682c1d0 |
| 26-Mar-2014 |
dlg <dlg@openbsd.org> |
CONTEXT for malloc.
feels a bit clumsy, hopefully jmc can help.
|
#
c925299e |
| 04-Jul-2013 |
tedu <tedu@openbsd.org> |
free(null) works
|
#
dddd2645 |
| 04-Jun-2013 |
schwarze <schwarze@openbsd.org> |
Replace old-fashioned .Fd by new-fangled .In for #include lines. Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@. No objection from jmc@ against this type of change.
|