summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-08-01Remoe unused vtrace stuff; ok deraadt@Miod Vallat
2005-08-01Kill more "memory might be 2MB or less" checks in bufpages computation.Miod Vallat
ok deraadt@ otto@
2005-08-01Make bootdev a dev_t; ok martin@Miod Vallat
2005-08-01do not include boot.c since cdboot.c is a copy of it; shrink 1k off the cdbootMichael Shalayeff
2005-08-01I'm Positive these are Type-O.Miod Vallat
2005-08-01Thinko in 68060-only #ifdef line.Miod Vallat
2005-08-01Remove option FPU_EMULATE from the mvme68k kernels - first, it is misleadingMiod Vallat
as the mvme68k port does not provide the necessary MD parts of the FPU emulator; second, because we do not run (yet) on FPUless mvme68k boards, although I have a couple in the Attic... cVS:
2005-08-01Dead meat.Miod Vallat
2005-08-01In pmap_{,k}remove(), be more careful when deciding to flush the caches, if theMiod Vallat
kernel is configured with HP MMU support, but does not run with one. This speeds up most hp300 systems quite a bit. Tested millert@
2005-08-01Factorize cachectl() accross m68k platforms, and make the CC_ constantsMiod Vallat
public.
2005-08-01- disable video interrupts on AV machinesMartin Reindl
- unmap unused DAFB registers on all other Quadras after attachment from NetBSD
2005-08-01Minor whitespace cleanup.Christopher Pascoe
2005-08-01allocate path using malloc, not as local variable; ok dlg pascoeTheo de Raadt
2005-08-01 - We shouldn't allocate MAXPATHLEN from the stack.Artur Grabowski
- Don't copy the pathbuf into kernel space unless we're systracing. deraadt@ ok
2005-08-01sys_select() used to use 6 local fd_set's in case the width was <= theTheo de Raadt
size of an fd_set (ie. 256 bits), to avoid the malloc. that is a lot of local storage. change the cross-over point to 32-bits, which is more fair. if you select with large widths, you pay the price. tested by dlg, read by millert and pascoe, run on all machines
2005-08-01remove whitespaceBrad Smith
2005-08-01spaces vs tabBrad Smith
2005-08-01Use a string directly rather than making a copy, save on stack space.Christopher Pascoe
Use a static buffer for another large variable, pending further analysis. prodded deraadt
2005-08-01Don't keep the devinfo string on the stack, instead use malloc/free.Brad Smith
This should cure some rare stack overflows. From augustss NetBSD ok dlg@ pascoe@
2005-08-01knfTheo de Raadt
2005-08-01spacing; ok deraadt@David Krause
2005-07-31Move large receive/decryption buffer allocation from the stack intoChristopher Pascoe
wi_softc. ok millert
2005-07-31Don't use new dmesg line when printing logical devices info.Alexander Yurchenko
Suggested by deraadt@.
2005-07-31No need to #include <machine/pcb.h>; tested martin@Miod Vallat
2005-07-31Wrong copyout() size in writeback().Miod Vallat
2005-07-31Fix KDFAULT() in the 68040 & non-68040 compilation case.Miod Vallat
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-31unfortunately de(4) no longer fitsTheo de Raadt
people who add to the kernel without thinking of the growth caused this
2005-07-31remove the config glue between the /dev entry for ses and its driverDavid Gwynne
sure deraadt@
2005-07-31remove the ses driver. it has never been enabled in GENERIC on any archDavid Gwynne
in openbsds lifetime so noone is going to miss it. if you did enable it, it either didnt work or the data was hard to read and usually wrong. ok deraadt@ marco@
2005-07-31back out change that was not discussed for nowPeter Valchev
2005-07-31Perform pf state/rule/table expiry in a kernel thread instead of runningChristopher Pascoe
it out of a timeout handler. This means we will have process context, required when using the oldnointr pool allocator. Addresses pr4186, pr4273. ok dhartmei@ henning@ tedu@
2005-07-31use monotonic time for repeat event detections; feedback and ok deraadt@Damien Miller
2005-07-31do not allocate huge kinfo_proc2 and eproc structures on the stack.Theo de Raadt
allocate them on startup if needed, and free them when done. discussion with pascoe, tested by dlg
2005-07-31Missed argument in previous commit, applied separately to ease merges.Christopher Pascoe
2005-07-31Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chainChristopher Pascoe
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@
2005-07-31Change the API for icmp_do_error so that it takes the mtu directly, ratherChristopher Pascoe
than a pointer to struct ifnet containing it. Saves a 448 byte stack allocation in ip_forward which previously faked up a struct ifnet just for this purpose. idea ok deraadt millert
2005-07-31including a driver without putting it's driver name at the end of a filesTheo de Raadt
line, means that on any architecture it gets pulled in. that's real clever! what does it mean? that insufficient TESTING IS GETTING DONE BEFORE COMMIT
2005-07-30syncTheo de Raadt
2005-07-30more shorteningTheo de Raadt
2005-07-30syncTheo de Raadt
2005-07-30shortenTheo de Raadt
2005-07-30people grew the kernel too much again, sighTheo de Raadt
2005-07-30Don't do nothing -> Don't do anythingBrad Smith
2005-07-30remove a driver because someone bloated the kernelTheo de Raadt
2005-07-30Use ic->ic_ibss_chan instead of ic->ic_bss->ni_chan when filling aClaudio Jeker
ipw_tx_radiotap_header struct. This fixes a panic I got when using tcpdump -nvi ipw0 -y ieee802_11_radio. OK reyk@ damien@
2005-07-30build libkernTodd C. Miller
2005-07-30remove a useless timeout after tx (decrease nasty delays whileReyk Floeter
scanning) and fix various other minor things in the ath(4) driver.
2005-07-30Pull in moddi3.c and negdi2.c from libkern since libz needs them.Todd C. Miller
2005-07-30Use the blocksize returned from scsi_size() in preference to allKenneth R Westerback
other values as was intended. As opposed to overwriting it with scsi_do_mode_sense() calls. May help PR4313. ok tdeval@