summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2009-08-12change some defaults inside amd itself, so that the rc scripts no longerTheo de Raadt
have to pass those options. this makes amd much easier to restart by hand (though it still remains a nasty daemon do that with) ok millert
2009-08-12Add support for the "Slots Power" sensor on the PowerMac9,1.Mark Kettenis
2009-08-12Add support for SENSOR_WATTS.Mark Kettenis
ok deraadt@, oga@
2009-08-12fix unused widgets to contain the actual ids; ok jakemsr@Martynas Venckus
2009-08-12A tty context must not be modified as it may be reused to update multipleNicholas Marriott
clients, so make it const. Also fix an actual modification which caused a hang when a session was connected to multiple terminals at least one of which was missing ich/ich1.
2009-08-12When started as the shell, __progname contains a leading -, so hardcode "tmux"Nicholas Marriott
for socket path and log files, and strip it when working out the shell.
2009-08-12sort options;Jason McIntyre
2009-08-12imsg closes the fd after sending, so dup() STDIN_FILENO before passing it toNicholas Marriott
the parent, otherwise TIOCGWINSZ will fail when the window is resized (that could actually be moved into the server but this is more future-proof and avoids breaking the protocol).
2009-08-12don't confuse chars with strings; ok oga@Martynas Venckus
2009-08-12support most of scp(1)'s commandline arguments in sftp(1), as a firstDamien Miller
step towards making sftp(1) a drop-in replacement for scp(1). One conflicting option (-P) has not been changed, pending further discussion. Patch from carlosvsilvapt@gmail.com as part of his work in the Google Summer of Code
2009-08-11don't take chip revision as a pointer to the string; swap it with xnameMartynas Venckus
ok naddy@
2009-08-11kill the old 3.3.1 -> 3.3.2 format converterMartynas Venckus
it doesn't build; and by now i'm pretty sure everyone converted to this new format being used since 1985 ok millert@
2009-08-11Initialise log_fd to -1, prevents spurious disconnection of the client when itNicholas Marriott
ends up as fd 0 (likely if the server is started with "tmux start"). Also add some extra debugging messages to server.c.
2009-08-11Have the client pass its stdin fd to the server when identifying itself andNicholas Marriott
have the server use that rather than reopening the tty. If the fd isn't given, use the old behaviour (so no need for a version change). This allows tmux to be used as the shell, so also change so that when working out the command to execute if default-command is empty (the default), tmux will try not execute itself.
2009-08-11brad and jsg point out that this device does not do ibss either;Jason McIntyre
2009-08-11Update documentation for x11/xfce4 module.Landry Breuil
2009-08-11Add a TTY_OPENED flag and tidy a little.Nicholas Marriott
2009-08-11urtw does not do hostap, so remove the hostap example;Jason McIntyre
from Piotrek Kapczuk
2009-08-11More exact matching for Sunix 40XX 4 and 8 port units so that we can fixTheo de Raadt
their baud rate multipliers.
2009-08-11Drop the no_stop argument to tty_close and tty_free in favour of a flag in theNicholas Marriott
tty struct.
2009-08-11Do not bother initializing bufpages in the md code if the computation isMiod Vallat
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0.
2009-08-11With the SysV memory allocation changes, allocsys() doesn't do anythingMiod Vallat
anymore. Get rid of it completely.
2009-08-11The PowerMac9,1 has 4 sensors on its smu(4), so increase the maximum number.Mark Kettenis
Also add a check for the maximum number of sensors like we already have for the number of fans such that we avoid mysterious hangs on machines with more than 4 sensors.
2009-08-11uvm_scheduler() sounds important, but ``while(1) tsleep()'' is kinda lameBret Lambert
inline the loop in the one place it exists, and remove it from uvm adjust a comment mentioning it accordingly originally inspired by a diff fixing a comment from oga@ ok art@ beck@ miod@ oga@
2009-08-11Switch tmux to use imsg. This is the last major change to make theNicholas Marriott
client-server protocol more resilient and make the protocol versioning work properly. In future, the only things requiring a protocol version bump will be changes in the message structs, and (when both client and server have this change) mixing different versions should nicely report an error message. As a side effect this also makes the code tidier, fixes a problem with the way errors reported during server startup were handled, and supports fd passing (which will be used in future). Looked over by eric@, thanks. Please note that mixing a client with this change with an older server or vice versa may cause tmux to crash or hang - tmux should be completely exited before upgrading.
2009-08-11fix some stupidity in x86 bus_space_map.Owain Ainsworth
right now, we do a pmap_kenter_pa(), we then get the pte (behind pmap's back) and check for the cache inhibit bit (if needed). If it isn't what we want (this is the normal case) then we change it ourselves, and do a manual tlb shootdown (i386 was a bit more stupid about it than amd64, too). Instead, make it so that like on some other archs (sparc64 comes to mind) you can pass in flags in the low bits of the physical address, pmap then does everything correctly for you. Discovered this when I had some code doing a lot of bus_space_maps(), it was incredibly slow, and profilling was dominated by pmap_tlb_shootwait(); discussed with kettenis@, miod@, toby@ and art@. ok art@
2009-08-11tiny knf and use curproc directly instead of a setting up a local procThordur I. Bjornsson
pointer since its just used in one place. ok blambert@
2009-08-11call reset_flags in bounce_session failure code path.Jacek Masiulaniec