summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-04-19introduce a new km_page allocator that gets pages from kernel_map usingTed Unangst
an interrupt safe thread. use this as the new backend for mbpool and mclpool, eliminating the mb_map. introduce a sysctl kern.maxclusters which controls the limit of clusters allocated. testing by many people, works everywhere but m68k. ok deraadt@ this essentially deprecates the NMBCLUSTERS option, don't use it. this should reduce pressure on the kmem_map and the uvm reserve of static map entries.
2004-04-19also use sbcheckreserve() for setsockopt of SO_SNDBUF and SO_RCVBUFTheo de Raadt
2004-04-19this is only a work in progress, we can perfect afterwards, but it is timeTheo de Raadt
to get some experience with these ideas. add sbcheckreserve() api; called by accepting sockets. if over 95% of mbuf clusters are busy, consider this a resource starvation just like the other reasons for accept failing. also, if over 50% of mbuf clusters are busy, shrink recv & send sockbuf reserves to "the minimum".
2004-04-19Report when VIA AES is present, even if we're not going to use it becauseTom Cosgrove
CRYPTO is not defined ok deraadt@
2004-04-19allow this to compile after the tags/wide/sync SCSI fix went in.Brad Smith
2004-04-18... and do not pass a NULL map to uvm_fault() either.Miod Vallat
2004-04-18Do not dereference NULL stupidly in trap() when checking if a process needsMiod Vallat
its stack to grow (sync with other m68k ports, which are safe).
2004-04-18In cpu_startup(), move the memory size computations to allocsys() insteadMiod Vallat
of unrolling the logic.
2004-04-18pass esp/ah/ipcmp to rawip if processing is disabled with sysctl;Markus Friedl
allows userland ipsec; tested by sturm@; ok deraadt@, ho@, hshoexer@
2004-04-18Sync with FreeBSD's "em".Henric Jungheim
2004-04-18unify USB section with i386 GENERIC, but leave "midi at umidi" commented outPeter Valchev
while an issue is being resolved
2004-04-18unify the whole USB section with the already-improved i386 GENERICPeter Valchev
2004-04-18Fix cut/paste typo in error message.Kenneth R Westerback
2004-04-18Restore siop's (and possibly others) ability to negotiate tags/wide/sync byKenneth R Westerback
reverting to a single (short) INQUIRY command during probe. Compensate in siop by trying PPR on all targets on SCSI-3 buses and falling back to WDTR/SDTR if PPR rejected. Problem found by mickey@. Tested on a wide variety of devices by Marco. ok marco@ deraadt@.
2004-04-18typo in a commentMichael Shalayeff
2004-04-17oops, it is on the 2nd IDTheo de Raadt
2004-04-17syncTheo de Raadt
2004-04-17exsys EX41098Theo de Raadt
2004-04-17Don't forget to apply the M_CLUSTER flag when copying flags in m_pullup2().Ryan Thomas McBride
Fixes pr3740. Confirmed with pb@, ok markus@.
2004-04-17unbreakHenning Brauer
2004-04-17when the input queue congestion flag is set stop evaluating the rulesetHenning Brauer
and block unconditionally. when the inout queue is full, newly arriving packets are dropped anyway, and while the input queue is full we obviously have a CPU laod problem. with this change, we allow the machine to recover gracefully, dropping a few packets fast instead of a lot slowly over a long time while processing rather old stuff in the input queue, giving somebody a chance to log in on the console and fix stuff instead of going completely unresponsive, and as a nice side effect, let established connections alone. ok kjc@ markus@ beck@
2004-04-17add a congestion indicator to if_queue. It is set when the input queueHenning Brauer
is full, along with a timer that unsets it again after 10ms. The input queue beeing full is a reliable indicator for CPU overload, and this flag allows other subsystems to cope with the situation. hacked with beck ok kjc@ markus@ beck@
2004-04-16Bounds check PCC2 and SYSCON interrupt vectors.Miod Vallat
2004-04-16Do not attach if we could not get an interrupt.Miod Vallat
2004-04-16When a VMEBus device needs to use two interrupt vectors, be nice and let itMiod Vallat
actually use two distinct vectors, rather than twice the same. Because of this, print vector last in vmeprint() so that dmesg remains pretty in the multi-vector case.
2004-04-16Do not register console as CN_NORMAL priority if we are not in cdevsw[].Miod Vallat
Also, in cl, print the correct device name instead of hardcoded cl0 in various diagnostic/warning messages.
2004-04-16probe correct amount of RAM on cards that have 64KB memoryXavier Santolaria
>From: NetBSD tested by Martin Reindl and nick@. ok nick@.
2004-04-16bye bye, because miod wants a clean shack as much as i doTheo de Raadt
2004-04-16remove #GATEWAY junkTheo de Raadt
2004-04-16fix niklas's panic and pr3672 with freebsd rev 1.54 (don't trust DIRSIZ)Ted Unangst
extra testing otto@ sturm@ tdeval@
2004-04-16not a pasto. ok millert@Ted Unangst
2004-04-16During bootup, only print the VMEChip2 decoder settings for those which areMiod Vallat
enabled.
2004-04-16When the abort button is pressed on 1x7, do not invoke the trap handler twice.Miod Vallat
2004-04-16remote splaudio hack, now that all architectures that need it,Peter Valchev
have it in MI includes; ok miod
2004-04-16provide MI splaudio(); ok miodPeter Valchev
from RATT
2004-04-15Since *ramread and *ramwrite are the same code, really, factorize them a laMiod Vallat
memread/memwrite.
2004-04-15Remove more dead code.Miod Vallat
2004-04-15Fix incorrect error message (rx dma map, not tx).Ryan Thomas McBride
2004-04-15constify baud rate to hardware parameters structures.Miod Vallat
2004-04-15Nuke unneeded definitions.Miod Vallat
2004-04-15Unbreak INET6less kernels.Alexander Yurchenko
ok markus
2004-04-15regenMichael Shalayeff
2004-04-15a plessey phy as found on some pnicsMichael Shalayeff
2004-04-15Remove orphaned CLCD_DO_POLLED_INPUT code.Miod Vallat
2004-04-15user bus_dmamap_load_mbuf and set rcvif on receiveMichael Shalayeff
2004-04-15allow TCP packet with IPv4 option (we have been dropping these).Jun-ichiro itojun Hagino
simplify some of the codepath by using IP6_EXTHDR_GET. markus ok
2004-04-15rework access to emulations slightly in an effort to both merge andTed Unangst
separate exec format from emulation. consistent naming of freebsd emuls. not much in the way of functional changes yet. testing and ok deraadt@ and others along the way.
2004-04-15Fix urio(4) entry, MAKEDEV was correct already; ok deraadtPeter Valchev
2004-04-14correct umidi(4) entry; ok deraadtPeter Valchev
2004-04-14Way too much include files here...Miod Vallat