summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-10-10send_packet() now takes a struct in6_addr as destination instead of aClaudio Jeker
struct sockaddr_in6 and builds the struct sockaddr_in6 internaly adding scope if necessary. While there switch to sendto() we don't need any of the sendmsg() features here. OK norby@
2007-10-10Address scope was probably the most stupid idea comming out of IPv6.Claudio Jeker
Abusing the 3rd and 4th byte of a ff02::/32 address to store the scope is wrong wrong wrong. Depending on the calls it is not possible to compare addresses with IN6_ARE_ADDR_EQUAL(). Remove the scope hack when fetching interface addresses so that we never rely on that inside ospf6d. OK norby@
2007-10-10Turn on the V6 and E bits in hello messages. This makes other OSPFv3 routersClaudio Jeker
a bit more happy. The E bit should be turned of in stub areas but there is no support for those at the moment. OK norby@
2007-10-10Limit the allowed characters in a request to [a-zA-Z0-9-_.:/= ] everythingClaudio Jeker
else will cause an "invalid character in input" error. Fixes xss issue noticed by Anton Karpov. OK henning@, sthen@
2007-10-10Fix some obviously bogus code in vge_newbuf(). Should fix PR 5582.Mark Kettenis
ok claudio@
2007-10-10Mention RTL8211B support.Jonathan Gray
2007-10-10Add support for the RTL8211B PHY based on a patch byJonathan Gray
Michael Eisele for FreeBSD. This fixes nfe/rgephy for ckuethe & couderc. Tested on re/rgephy by pyr.
2007-10-10a start at full sgi install cdTheo de Raadt
2007-10-10malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.Kenneth R Westerback
This completes my bzero/memset(,0,) -> M_ZERO sweep of the tree. ok kettenis@
2007-10-10Change argsize from size_t to short, since it only stores a shortRay Lai
value. Fixes a format string error. Pointed out by deraadt, OK miod.
2007-10-10Rework the debug dmesg to perform a more complete codec dump.Deanna Phillips
Tested by jmc, ckuethe, kettenis and jakemsr.
2007-10-10syncTheo de Raadt
2007-10-10shorteningTheo de Raadt
2007-10-10syncTheo de Raadt
2007-10-10oopsTheo de Raadt
2007-10-10syncTheo de Raadt
2007-10-10apple products; from dunceorTheo de Raadt
2007-10-10regenDavid Gwynne
2007-10-10add the pci product id for the Mellanox ConnectX EN adapters.David Gwynne
2007-10-10regenDavid Gwynne
2007-10-10add the mellanox vendor idDavid Gwynne
2007-10-09malloc+bzero -> malloc+M_ZERO. Use 'malloc(sizeof(*p) ...' idiom.Kenneth R Westerback
2007-10-09malloc+memset(,0,) -> malloc+M_ZERO. 'Fixes' not zeroing of allKenneth R Westerback
allocated memory, as I can't see an obvious initialization of the memory elsewhere. NetBSD uses M_ZERO here.
2007-10-09use macro argumentTheo de Raadt
2007-10-09Fix range check for carp vhid: vhid 0 isn't validJoel Knight
2007-10-09Ops, forgot debug printf.Marcus Glocker
2007-10-09Setup channels with OFDM flags. Permit user to set fix rates.Marcus Glocker
2007-10-09MALLOC -> mallocGilles Chehade
ok krw@
2007-10-09we have been knocking out i2c when ipmi exists on a machine (becauseTheo de Raadt
there are ipmi bmc's that apparently violate i2c bus master locking). but those problems bite us only for sensors which we re-scan every few seconds, and then we hit the ipmi bmc's races. for non-sensor devices (like spdmem) it is probably ok to look once. let's try that method for a while and see if anyone sees breakage.
2007-10-09add onewire(4) to the hardware list;Jason McIntyre
2007-10-09missing newlines in printfsTheo de Raadt
2007-10-09(missed in previous commit)Jason McIntyre
add iic(4) to the hardware list; ok deraadt
2007-10-09add iic(4) to the hardware list; ok deraadtJason McIntyre
2007-10-09Added proper support for branch revisions in annotate.Tobias Stoeckmann
OK niallo@, twice :)
2007-10-09New OpenCVS regression tests.Tobias Stoeckmann
OK niallo@, xsa@
2007-10-09Properly parse supplied symbols with -r argument.Tobias Stoeckmann
OK niallo@
2007-10-09Do not use working HEAD (file_rcsrev), instead use file_rcs->rf_head toTobias Stoeckmann
print revision info. OK niallo@
2007-10-09various style cleanups:Tobias Stoeckmann
- Copyright order - rev -> cvs_specified_tag - crev -> rev - line instead of alines[i] in for-loop OK niallo@
2007-10-09Do not warn user about files that are "no longer in the repository"Tobias Stoeckmann
during cvs import. OK niallo@
2007-10-09Return NULL if a revision has been supplied that is higher than HEAD.Tobias Stoeckmann
This one and previous OK niallo@, "makes sense to me" xsa@
2007-10-09Properly resolve branches, i.e. supplying branch base revision (e.g. 1.1.1)Tobias Stoeckmann
should resolve to latest branch revision (e.g. 1.1.1.1).
2007-10-09cvs import must not parse files in local CVS directory.Tobias Stoeckmann
OK niallo@
2007-10-09factor out identical codeMarc Espie
2007-10-09cut up JobStart, prepare the job to be run in a separate functionMarc Espie
2007-10-09don't bother returning anything from JobStart, we don't look at it anywaysMarc Espie
2007-10-09minor refactor: introduce function start_queued_job, to make it more apparentMarc Espie
JobStart and JobRestart often do the same thing. Move JobMakeArgv call around for similar reasons. Introduce new list (queuedJobs) we don't use yet.
2007-10-09rename jobs to more descriptive runningJobs (and easier to grep)Marc Espie
2007-10-09just-in-time signal handling: do not setup the handlers until we need them.Marc Espie
2007-10-09rename functions for clarity.Marc Espie
Add a global `got_signals' to quick-path thru handle_all_signals. remove most of the #ifdef USE_PGRP cruft: always be ready to handle those signals, just do not define a handler for them yet.