summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
errnos. Note that the error strings are being ignored, since we long ago decided to not spam the console, and there is no other nice way to use the errors (without changing the ioctls to pass it back) The errno is now useful, since we can pass b_error from failing IO up, and the drive can decide how to use that ok miod
2009-08-13Teach nfsm_fhtom about nfsm_info structsBret Lambert
ok thib@
2009-08-13- remove the ef(4) chunk, it's unused now and the ioc ethernet driverJasper Lievisse Adriaanse
won't be called ef(4) anyway. ok miod@
2009-08-13syncTheo de Raadt
2009-08-13Add nodes for vscsi0; ok dlgTheo de Raadt
2009-08-13i forgot a commentDavid Gwynne
2009-08-13wire vscsi up to a cdevDavid Gwynne
for claudio@ ok deraadt@
2009-08-13change version 3 post-operation attribute building function to notBret Lambert
use mbufs directly, but the shiny new nfsm_info struct ok thib@
2009-08-13- remove super-obvious comments from $fs_vnodeop_entries[]Jasper Lievisse Adriaanse
prodded by and ok thib@ agreed by art@ and blambert@
2009-08-13Print a warning when rdomain is used on non-AF_INET sockets. Those areClaudio Jeker
currently not supported. Requested by djm sort of.
2009-08-13- consistify cfdriver for the ethernet drivers (0 -> NULL)Jasper Lievisse Adriaanse
ok dlg@
2009-08-13Allow tcpbench to bind to a different rdomain.Claudio Jeker
OK sthen, djm and maybe more
2009-08-13add new 'router' functionality to dynamically add or remove routesReyk Floeter
based on health check results, using the existing table syntax. this allows to maintain multiple (uplink) gateways to implement link balancing or WAN link failover if no routing protocol or other keepalive method is available. works fine with or without net.inet.ip.multipath enabled. ok pyr@, jmc@ for manpages
2009-08-13add a show all vnodes command, use dlg's nice pool_walk() to accomplishThordur I. Bjornsson
this. ok beck@, dlg@
2009-08-13sync synopsis and usage();Jason McIntyre
2009-08-13Start using a linking script for this kernel. ThisTobias Weingartner
should help in future using large pages for text/etc. Also, since we do not use the .eh frame stuff, we can nuke them, saving some bytes... Ok kettenis@, "more control over linking is a good thing, but I can't comment further" art@.
2009-08-13A new(er) mtx_enter_try().Tobias Weingartner
Ok oga@, "the time is now" deraadt@.
2009-08-13Make the i386 APIC code closer to the amd64 version. Many whitespace fixes,Mark Kettenis
some additional code. ok toby@, oga@
2009-08-13- missing printf("\n"); after calling lockmgr_printinfo()Jasper Lievisse Adriaanse
"do it" thib@
2009-08-13If the client passes zero for the window size in the identify message (which itNicholas Marriott
can, for example on serial terminals), reset it to 80x25, same as for resize messages. Problem reported by kettenis@.
2009-08-13set ITSDONE on the xs before calling scsi_done()David Gwynne
2009-08-13- set DV_IFNET, instead of DV_NULLJasper Lievisse Adriaanse
ok kettenis@
2009-08-13date: 2009/08/13 01:11:19; author: djm; state: Exp; lines: +10 -7Damien Miller
Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path", add "-P port" to match scp(1). Fortunately, the -P option is only really used by our regression scripts. part of larger patch from carlosvsilvapt@gmail.com for his Google Summer of Code work; ok deraadt markus
2009-08-13Swizzle options: "-P sftp_server_path" moves to "-D sftp_server_path",Damien Miller
add "-P port" to match scp(1). Fortunately, the -P option is only really used by our regression scripts. part of larger patch from carlosvsilvapt@gmail.com for his Google Summer of Code work; ok deraadt markus
2009-08-13regression test for port number parsing. written as part of the a2portDamien Miller
change that went into 5.2 but I forgot to commit it at the time...
2009-08-12add modinst to CONFIGURE_STYLE listSimon Bertrang
2009-08-12Add wake support to acpihpet(4).Paul Irofti
Patch initially from mlarkin@. KNF and refactoring by me. Okay deraadt@.
2009-08-12i am sorry to commit to userland from a kernel hackathonHenning Brauer
2009-08-12Optimize Syndrome calculation, 30% speedup on writesJordan Hargrave
ok marco@
2009-08-12just bzero the pkthdr instead of setting each and every member of thatHenning Brauer
struct to 0/NULL. no performance impact but way less error prone on addition of new pkthdr field (as just ran into with a theo diff). ok theo
2009-08-12only pull in the source file if it is needed, so that all the othersTheo de Raadt
we use compile brilliant cnst, please learn to test better
2009-08-12dlg wants iscsi in here; ok dlgTheo de Raadt
2009-08-12Update nlist array and uncomment a few things to pave the way for upcomingMiod Vallat
new name cache information gathering code.
2009-08-12revert my change to m_cluncount which tries to prevent the systemDavid Gwynne
running out of mbufs for rx rings. if the system low watermark is lower than a rx rings low watermark, we'll never send a packet up the stack, we'll always recycle it. found by thib@ on a bge sadface
2009-08-12Crank the /usr sizes in the large configurationTheo de Raadt
ok krw otto
2009-08-12Let this work with C99 compilers that do not define __GNUC__Jonathan Gray
ok niklas@
2009-08-12Non-equivalent writable aliases (aka illegal aliases) are bad. Since PA-RISCMark Kettenis
doesn't have a usuable uncachable bit, whack all other mappings of a page if we are about to create a non-equivalent writable alias by entering a mapping for it. ok art@, miod@
2009-08-12Mark sensor as invalid if the i2c transaction to read its value fails.Mark Kettenis
ok deraadt@
2009-08-12ix currently relies on a gcc extension that removes a commaJonathan Gray
if no arguments are passed to a variadic macro. Create a seperate non variadic macro for this fixed argument case. No binary change. ok reyk@
2009-08-12Namecache revamp.Bob Beck
This eliminates the large single namecache hash table, and implements the name cache as a global lru of entires, and a redblack tree in each vnode. It makes cache_purge actually purge the namecache entries associated with a vnode when a vnode is recycled (very important for later on actually being able to resize the vnode pool) This commit does #if 0 out a bunch of procmap code that was already broken before this change, but needs to be redone completely. Tested by many, including in thib's nfs test setup. ok oga@,art@,thib@,miod@
2009-08-12Backing store for ega and vga virtual console is not allocated until theMiod Vallat
second vc is created. However, it was allocated using the geometry of the second vc to allocate backing store for the first. Be sure to use the proper values in case geometries differ.
2009-08-12dlg deferred calling interfaces' if_start routine so we call them less,Henning Brauer
which does pay out, performance wise. one of the conditions to call the interfaces' if_start routine immediately was "send queue is full". on a very busy (hammered) machine this will itroduce too much latency since we spend almost all cpu time in interrupt handlers and softnet, so the softint actually doing the if_start gets called to seldom and the queue full check is what triggers the actual transmit. change the logic to call if's if_start routing immediately when there are at least 8 packets (or in case if maxlen being smaller than 8, maxlen) 8 chose because it shows best performance in my test setup here. ok dlg
2009-08-12lisa(4) manual pageConstantine A. Murenin
2009-08-12New lisa(4) driver for ST LIS331DL accelerometer in HP 2133 Mini-Note PC; ↵Constantine A. Murenin
ok deraadt
2009-08-12if we get dangerously low on clusters during interrupts, we needDavid Gwynne
to free some for use on the rx rings on network cards. this modifies m_cluncount to advise callers when we're in such a situation, and makes them responsible for freeing up the cluster for allocation by MCLGETI later. fixes an awesome lockup with sis(4) henning has been experiencing. this is not the best fix, but it is better than the current situation. yep deraadt@ tested by henning@
2009-08-12always mark an xs complete if we're about to return COMPLETE to theDavid Gwynne
midlayer. always call scsi_done on the xs too.
2009-08-12though shalt complete the xs (ie, call scsi_done with it) before returningDavid Gwynne
COMPLETE in a scsi_cmd handler. found by thib when testing my midlayer changes.
2009-08-12Apple is hopelessly inconsistent with their firmware, so some machines haveMark Kettenis
an extra smu-i2c-control node where others don't. Handle the difference. Makes the PowerMac9,1 actually find some i2c devices.
2009-08-12Fix unwanted rejects by parsing (and ignoring) AUTH=<...> MAILJacek Masiulaniec
command argument. Testers, you want this. Committing on gilles@'s behalf.
2009-08-12Since SENSORS_WATTS now is in muW, say so in the comment.Mark Kettenis