summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-12-07If UPAGES would turn out to be 1, instead of using wired TLB entries to mapMiod Vallat
the u area after each context switch, simply convert it to an XKPHYS address, so that access to it never faults. Idea from NetBSD.
2009-12-07Use a pool to manage pmap pte pages and top level segment table, instead ofMiod Vallat
directly allocating pages from uvm; this will allow us to eventually use a different kernel page size without having to alter the pmap structures layout. No functional change; measured slowdown of 1.6% for 4KB page kernels.
2009-12-07When converting ARCBios memory spaces from ARCBios page size to the kernelMiod Vallat
page size, be sure to pick the strictest interval so as not to incorrectly claim ARCBios reserved data not (kernel) page size aligned as free memory. No functional change since the kernel uses the same page size as ARCBios (at the moment).
2009-12-07Be sure to always check tlbp return values for strictly negative valuesMiod Vallat
to consider the probe as failed; tlb pair #0 does not deserve to be magic in any way.
2009-12-07When netbooting the kernel image from ARCBios, our load address may not beMiod Vallat
honoured, and we may end up loaded at an uncached address (e.g. CKSEG1 on O2). This would cause the kernel to run with instruction cache disabled. Work around this by simply jumping to the address we really want to run at, at the beginning of locore.
2009-12-07When trying to return to ARCBios on a 32 bit ARCBios machine (such as the O2),Miod Vallat
disable interrupts and unconditionnaly use proc0 u area as the stack, so that once ARCBios loses the upper 32 bits of the stack pointer, accessing the stack does not fault (proc0 u area is allocated in CKSEG0 for this reason).
2009-12-07Get page size information by reading the kernel image' struct uvmexp, insteadMiod Vallat
of the value of PAGE_SIZE found in the standard headers when compiling.
2009-12-07Make userland malloc use __LDPGSZ granularity on mips, regardless of theMiod Vallat
actual kernel page size.
2009-12-07update to sudo 1.7.2p2Todd C. Miller
2009-12-07Avoid dereferencing a null pointer when logging a DNS lookup failure.Joel Sing
ok gilles@
2009-12-07Fix a spacing nit, and replace a magic number with ETHER_ADDR_LEN.Stuart Henderson
From Brad.
2009-12-07don't use $set->print, consistent messages.Marc Espie
2009-12-07Cleanup discipline initialisation.Joel Sing
ok marco@
2009-12-07Define discipline capabilities using a set of flags.Joel Sing
"shiny!!" marco@
2009-12-07simplify tracker a bit now we know what we're doing.Marc Espie
kill code that never got used
2009-12-07oops, wrong version of previous diff.David Gwynne
we have to exec a command (with ata_exec) before we check if its done with ata_polled. of course an unstarted command will not be done. found by and debugged with krw@ ok krw@
2009-12-07get rid of the return codes from command submission, ata_cmd handlersDavid Gwynne
now return void. all state about a command is now represented within the ata_xfer structure, and all layers using it (both hba and atascsi) now check only ata_xfer. this relies on my scsi midlayer changes. it was written just before the second last backout of the midlayer.
2009-12-07do not forward and drop packets with M_MCAST flag set in ip_forward()Joerg Goltermann
ok henning@, claudio@ "I think this should go in"
2009-12-07behaviour for the -l flag differs between this implementation and posix;Jason McIntyre
spotted by millert
2009-12-07Re-enable SCSIDEBUG display of commands and data. Original diffKenneth R Westerback
from dlg@, tweaking by me to make it compile. ok dlg@
2009-12-06fix potential divide-by-zero in sftp's "df" output when talking to a serverDarren Tucker
that reports zero files on the filesystem (Unix filesystems always have at least the root inode). From Steve McClellan at radisys, ok djm@
2009-12-06use socklen_t for getsockopt optlen parameter; reported byDamien Miller
Steve.McClellan AT radisys.com, ok dtucker@
2009-12-06zap unused variable and strlen; from Steve McClellan, ok djmDarren Tucker
2009-12-06missing space;Jason McIntyre
2009-12-06Make internal file descriptor handling async-signal safe by eliminatingKurt Miller
the use of spinlocks and malloc. All needed memory is allocated upfront and _thread_kern_sig_defer/undefer() is now used to protect critical sections. okay guenther@
2009-12-06Nuke SCSI_URGENT after removing its only use, in ncr53c9x.c. That useKenneth R Westerback
was to try to play dangerous games with tagged queuing. ok marco@
2009-12-06Add /var/db/locate.database and /var/games/tetris.scores to IGNORE_FILES.Antoine Jacoutot
ok sthen@
2009-12-06During the session's initialization, when playing the passive role, sendMichele Marchetto
the initialization message before the keepalive. This fixes session initialazion failures noticed by Christophe Fillot. ok claudio@
2009-12-06Improve divert.4 man page.Michele Marchetto
Be more clear about what happens to the packets when they are queued to userspace or reinjected in the kernel. input by jmc@ ok claudio@
2009-12-06change M_WAITOK --> M_WAITOK|M_CANFAILCharles Longeau
with input from marco@ "that i like" marco@ ok dlg@
2009-12-06Doh, switch src and dst in memcpy calls or the wrong thing gets copied.Claudio Jeker
For some reasons memcpy has the argument reversed - grmbl. Found the hard way by Insan Praja.
2009-12-06SCSI_USER is deprecated. the ioctl handlers arent special with regard toDavid Gwynne
the midlayer.
2009-12-06-U before -u;Jason McIntyre
2009-12-06consistently refer to the softc pointer as sc, not sd.David Gwynne
2009-12-06biodone must be called at splbio.David Gwynne
2009-12-06nitems(array) is prettier than sizeof(array)/sizeof(array[0])David Gwynne
2009-12-06whitespace tweaksDavid Gwynne
2009-12-06ansify dvd functions a bit.David Gwynne
2009-12-06fix previousJacek Masiulaniec
2009-12-05a bit more documentation, including revisit of OpenBSD::Intro to reflectMarc Espie
the current state of things.
2009-12-05Use the correct member of the ieee80211com struct when testingJonathan Gray
if the current mode is 802.11a or 802.11b. found by gcc svn. ok damien@
2009-12-05Ignore HID devices that have the same vendor and product ids thanMatthieu Herrb
devices actually supported by this device. The Linux driver confirms they exist. ok miod@ jsg@.
2009-12-05fix interface tagging listeners in the ipv6 caseCharles Longeau
while there factor some common code (from jacekm input) ok jacekm@
2009-12-05use eval {} everywhere around quirks.Marc Espie
also, remove quirks from the list of packages to update, since it deserves special treatment...
2009-12-05since we don't redisplay missing libraries message, tell why we can't installMarc Espie
in general terms...
2009-12-05quirks existsMarc Espie
2009-12-05avoid progressmeter warningMarc Espie
2009-12-05better quirks interface: pass the search object that was built, so we canMarc Espie
adjust it (eventually, pass the whole list ?)
2009-12-05change the internal representation of Search::Stem to allow the additionMarc Espie
of supplementary stems (useful for quirks)
2009-12-05oopsMarc Espie