Age | Commit message (Collapse) | Author |
|
pulls in the universe). occasionally they need sys/systm.h
|
|
ok miod@
|
|
included there
|
|
|
|
native size, so eliminate the #defines.
ok miod@
|
|
Kidding, the fix is to stop using the scheduler's PRNG.
ok kettenis
|
|
|
|
formatting into a local buffer.
ok miod@
|
|
use TAILQ_*_SAFE more than might be needed.
Bulk ports build by sthen@ showed nobody sticking their fingers
so deep into the kernel.
Feedback and suggestions from millert@. ok jsing@
|
|
than 65536 bytes, so make parse_structinfo.pl detect that and
switch to u_int for sizes and offsets when that happens.
ok miod@
|
|
ok miod
|
|
ok miod@
|
|
- switch to perl for better data structures and (thus) speed
- fix a couple glitches in the interpretation of the stabs output
- compress the strings by putting them in one big array and overlaying
suffixes
- all sizes and offsets are <64k, so use u_short for them
This results in ~60% reduction in the resulting text size and it now
takes less than a second to create on fast platforms.
ok miod@
|
|
message "value is not available" was misleading. Use the ENODEV
error to generate the more appropriate message "Operation not
supported by device". Note that ddb.console must be set to 1 to
see that error at all.
OK mpf@
|
|
mostly from armani.
ok miod, mpi, jsg and help from sthen
|
|
ok guenther millert kettenis
|
|
not advance the address until the last modifier has been processed. This
allows sequences like `x/xi address,count' to yield meaningful results.
As a bonus, handle `i' and `I' modifiers last, so that I don't have to
fight my habit of using `x/ix' instead of `x/xi'.
|
|
Enables show map /f *kernel_map to succeed without nullpointer errors on
64-bit archs.
ok miod@
|
|
"reads OK" claudio@
|
|
to xconsole. ok deraadt@ guenther@
|
|
pretend these could work on userland addresses.
|
|
implement them, and they are of questionable usefulness.
|
|
ok krw@ deraadt@
|
|
such commands are implemented.
"Ja! You'll need to update ddb.4 as well, of course." miod@
|
|
|
|
so that the process-level stuff is to/from struct process and not
struct proc. This fixes a bunch of problem cases in rthreads.
Based on earlier work by blambert and myself, but mostly written
at c2k10.
Tested by many: deraadt, sthen, krw, ray, and in snapshots
|
|
so stop including it in kernel .c files.
"sure" deraadt@
|
|
user.h
ok deraadt@
|
|
option was settled on. Fix those last couple so that the new
commands are actually accessible.
"Oops" miod@
|
|
|
|
ok beck@ thib@
|
|
and rewrite the nfsreq code to use pool_walk().
OK beck@, blambert@
|
|
ddb does keyword matching so i missed this.
spotted by jasper@
|
|
this.
ok beck@, dlg@
|
|
a few arches where toolchain limitations apply) will embed some symbolic
information about the various structs used within the kernel, and have
new ddb commands allowing struct display and some useful information
gathering. Kernel rodata increase varies accross platforms from ~150KB to
~300KB.
This option is not enabled by default.
|
|
1) fix buffer cache low water mark to allow for extremely low memory machines
without dying
2) Add "show bcstats" to ddb to allow for looking at the buffer cache statistics in ddb
ok art@ oga@
|
|
be NULL on panic. Of course, panic usually never produce enough output to
hit db_more(), except when it's cold and we run an automatic traceback;
aborting the traceback with `q' would then lead to undefined behaviour.
|
|
have been going on. this appears to bring us back to stable state.
lots of testing by oga and ariane and my self.
|
|
one by tedu@. It doesn't do anything smart yet, it just uses
plain old disksort. we also keep the old method of queueing bufs
since some miods have crazy MD drivers that need some love.
ok beck@, art@
tested by many on many archs.
|
|
8 byte reads (x/q) already.
|
|
debug stuff inside #ifdef NFSCLIENT.
prompted by todd, miod
|
|
and to print out struct nfsreq.
"get it in so people can pound on it" blambert@
OK and information_s_ on the manpage from miod@
|
|
Writing to it, will bring the system into the kernel debugger.
ddb.console=1 is required and the sysctl command has to be executed
from the actual console tty.
If the securelevel is < 1, the tty check is ignored.
Feedback and OK ckuethe@, deraadt@.
|
|
|
|
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
|
power of two.
use arc4random_bytes() when requesting more than a word of PRNG
output.
ok deraadt@
|
|
|
|
|
|
some radix configurations.
|
|
kprintf_mutex in the early stages of booting.
ok miod@ (a while ago)
|