Age | Commit message (Collapse) | Author |
|
|
|
|
|
that specifies which printf funciton it should use. Implement
db_stack_trace_cmd in MI code.
Thanks to miod@ for all the tests.
|
|
Tested by various people on various platforms, I'm willing to fix any
breakage this causes.
ok niels@ deraadt@ and mickey@ (after his comments were applied)
|
|
we'll use for printing the information.
miod@ ok
|
|
- update and fix comments
- clean the batc code (still not used by default)
- there was some KNF left to do
- fix incorrect locking behaviour in pmap_remove_all()
- fix incorrect pmap_remove_range() call which would cause the kernel to
enter an infinite loop sometimes at shutdown
- fix an off-by-one page loop in pmap_protect()
This should bring the extra bits of stability I need to resume working on the
compiler...
|
|
Currently as no-ops everywhere.
ok art@, deraadt@
|
|
own; thus fix a lot of foo_open(), foo_close() and foo_ioctl() prototypes
in the process.
|
|
|
|
type characteristics.
internal_types.h will contain only settings invisible from standard C, e.g.,
in the __* or _[A-Z]* namespace, and be reused by files like limits.h.
This allows us to shorten machine/limits.h greatly, as all the common defines
are now in sys/limits.h, plus a small stub in internal_types.h.
Tested on all arches as far as I know.
Approved after discussion with art, millert, deraadt, and others.
|
|
|
|
this time.
|
|
|
|
parameters.
Ok millert@, miod@, maja@
|
|
|
|
__P removal.
|
|
|
|
|
|
|
|
your kernel configuration file.
By default, GENERIC will enable this.
When PTRACE is not enabled, several ptrace-like features of the procfs
filesystem will be disabled as well (namely, the ability to read and write
any process' registers, as well as attching, single stepping and detaching
to/from processes).
This should help paranoid people build better sandboxens, and us to build
smaller ramdisks.
|
|
|
|
|
|
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT
and NKMEMPAGES using the config command, instead of recompiling the kernel.
This is the kernel part of the patch. I have compiled it on i386, sparc64,
alpha and macppc. -moj ok art@ maja@
|
|
|
|
|
|
|
|
weeks ago.
|
|
- do not do some paranoid sanity checks unless #ifdef DIAGNOSTIC
- remove some of the less-usefull, most screen-eating debug information
- and fix a few typos in the process.
This pmap is slowly starting to have a decent looking shape... Really.
|
|
|
|
|
|
|
|
well (not at all) with shortages of the vm_map where the pages are mapped
(usually kmem_map).
Try to deal with it:
- group all information the backend allocator for a pool in a separate
struct. The pool will only have a pointer to that struct.
- change the pool_init API to reflect that.
- link all pools allocating from the same allocator on a linked list.
- Since an allocator is responsible to wait for physical memory it will
only fail (waitok) when it runs out of its backing vm_map, carefully
drain pools using the same allocator so that va space is freed.
(see comments in code for caveats and details).
- change pool_reclaim to return if it actually succeeded to free some
memory, use that information to make draining easier and more efficient.
- get rid of PR_URGENT, noone uses it.
|
|
|
|
when writing to the first character.
|
|
|
|
|
|
|
|
C statements.
As a bonus this gets rid of the incorrect gcc 2.95 warnings in machdep.c
|
|
when the kernel is compiled with -O0.
|
|
|
|
- change more fatal situations into panics
- reorganize the execution flow to be shorter if no device interrupt handler
are registered
- minor style/KNF changes as well
|
|
ours.
|
|
|
|
|
|
|
|
to use constant bitmasks instead of bitfields.
- remove unnecessary (as long as we are not running SMP) locks on the
physsegs.
- update the pmap code to take these changes into account, and gratuitously
change several names and code paths to be closer to existing m68k pmaps. It's
a bit faster now.
- change pmap.c's usage of vm_{offset,size}_t to {p,v}{addr,size}_t.
- remove dead or unused stuff from pmap.c, fix typos, etc
Tested on 187 and 188, should not make things worse for 197.
|
|
|
|
|
|
|
|
|