Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-16 | switch from using softclock ticks to getnanotime when putting time on the | David Gwynne | |
wire for v5 packets. ok (and lots of gentle prodding from) florian@ | |||
2013-01-16 | Consistently call sr_scsi_done instead of scsi_done. | Joel Sing | |
ok krw@ | |||
2013-01-16 | Unbreak the negation toggle code when re-loading pf tables. Otherwise | Markus Friedl | |
negating existing entries on re-load does not work (e.g. changing 192.168.6.0/24 to !192.168.6.0/24 in table was ignoed). ok mikeb@, henning@ mpf@, bluhm@, | |||
2013-01-16 | Loongson: add throttling support. | Paul Irofti | |
This commit allows CPU throttling on the 2F systems. Inspired by an old diff from otto@. Help from and okay miod@. | |||
2013-01-16 | Add a function that handles the completion of a ccb. | Joel Sing | |
ok krw@ | |||
2013-01-16 | Add a new capability flag to identify disciplines where read failures are | Joel Sing | |
not necessarily terminal (i.e. we have redundancy). ok krw@ | |||
2013-01-16 | Set resid to zero if the scsi transfer completed without error. | Joel Sing | |
ok krw@ | |||
2013-01-16 | Factor out code used to release ccbs from a workunit. | Joel Sing | |
ok krw@ | |||
2013-01-16 | regen | Brad Smith | |
2013-01-16 | Some corrections for D-Link device names. | Brad Smith | |
ok jsing@ | |||
2013-01-16 | fix typo in comment | Darren Tucker | |
2013-01-16 | init comconsiot to X86_BUS_SPACE_IO in case someone changes the value of | David Gwynne | |
that thing to be something other than 0, which as a global it gets initted to. | |||
2013-01-16 | Add hardware VLAN tag/untag support for VT6105M chips. Help/feedback/ok | Darren Tucker | |
brad@ chris@ jsing@ kettenis@ mikeb@ sthen@ | |||
2013-01-16 | Sort the PCI ids. | Brad Smith | |
ok dtucker@ jsing@ | |||
2013-01-16 | Add hardware VLAN tag/untag support for VT6105M chips. Help/feedback/ok | Darren Tucker | |
brad@ chris@ jsing@ kettenis@ mikeb@ sthen@ | |||
2013-01-16 | do not expose NETDEV to userland from param.h | Theo de Raadt | |
2013-01-16 | regen | Brad Smith | |
2013-01-16 | Add D-Link DFE-520TX C1 | Brad Smith | |
2013-01-16 | Keep a count of packets added to the chip's TX queue and only poke the chip | Darren Tucker | |
if we've added a packet. Reduces CPU util a tiny bit. ok brad@ jsing@ | |||
2013-01-16 | oops, one IO_NODELOCKED left behind in the a.out coredumper | Theo de Raadt | |
ok guenther | |||
2013-01-16 | Pass struct inpcb pointer to in_pcb...() functions instead of void | Alexander Bluhm | |
pointer. Allows stricter type checking. No functional change. OK claudio@ | |||
2013-01-15 | restrict KERN_PROC_ARGS lookup of KERN_PROC_NENV and KERN_PROC_ENV | joshua stein | |
to process owner and root ok deraadt millert guenther | |||
2013-01-15 | Loongson: Add a stat clock for the lemote machines. | Paul Irofti | |
The stat clock is implemented so that it also covers, at least according to the tests I've done, Torek's paper on randomized sampling. Most of the bits for randomizing the stat ticks were taken from sparc's implementation and adapted to the companion chip's MFGPT frequencies. Before this my lemote showed a 8% cpu usage for the cpuhog example from Torek's paper even though openssl speed showed differences up to 27% when ran with and without cpuhog. With the new stat clock it shows cpuhog around 18-22%, which I think is the proper value. Okay miod@. | |||
2013-01-15 | More syncing with FreeBSD bge version. No binary change. | Claudio Jeker | |
2013-01-15 | Pass an EFBIG error to user land when the maximum splicing length | Alexander Bluhm | |
has been reached. This creates a read event on the spliced source socket that can be noticed with select(2). So the kernel passes control to the relay process immediately. This could be used to log the end of an http request within a persistent connection. deraadt@ reyk@ mikeb@ like the idea | |||
2013-01-15 | Switch mfs to bufq. This simplifies the code, gives us queue limits for | Joel Sing | |
free and uses FIFO queueing (rather than the current LIFO queueing). Tested by sthen@ ok beck@ krw@ | |||
2013-01-15 | Changing the socket buffer flags sb_flags was not interrupt safe | Alexander Bluhm | |
as |= and &= are non-atomic operations. To avoid additional locks, put the flags that have to be accessed from interrupt into a separate sb_flagsintr 32 bit integer field. sb_flagsintr is protected by splsoftnet. Input from miod@ deraadt@; OK deraadt@ | |||
2013-01-15 | Process futex requeuing even when the thread times out or is signaled. | Philip Guenther | |
Bug report from frantisek holop (minusf at obiit.org) ok pirofiti@ | |||
2013-01-15 | Flushing prefixes of autoconfigured IPv6 addresses with ndp -P | Alexander Bluhm | |
caused an uvm fault. The function in6_purgeaddr() might already free the prefix before prelist_remove() is called. So call in6_purgeaddr() for all addresses first and then loop over the remaining prefixes and call prelist_remove(). OK claudio@ | |||
2013-01-15 | Implement a function that gets and correctly initialises a ccb for I/O, | Joel Sing | |
along with a function that enqueues a ccb on a workunit. ok krw@ | |||
2013-01-15 | implement bus_space_foo_8 for amd64. it will panic on attempts to do 8 | David Gwynne | |
byte operations on I/O space with "invalid I/O operation", but works great for mem mappings. compiled AND tested on myx(4) on amd64. ok deraadt@ kettenis@ miod@ pirofti@ | |||
2013-01-15 | Always initialise the discipline name, not just when we are doing a create. | Joel Sing | |
2013-01-15 | Make the FAT setattr handling more consistent about unsupported | Martynas Venckus | |
attributes; making it more "user-friendly". Mostly from FreeBSD. OK guenther@, krw@. | |||
2013-01-15 | Fix typos in comments and change the syntactic sugar of a function to | Claudio Jeker | |
reduce the diff between Fx and Ox. OK gcc | |||
2013-01-15 | put a tab after #define to make the diff between Fx and Ox smaller. | Claudio Jeker | |
No binary change. | |||
2013-01-15 | Keep a function pointer to the per-discipline I/O interrupt handler in the | Joel Sing | |
discipline data structure. To be used with an upcoming diff. | |||
2013-01-15 | dont use amd64 is currently broken cos it has no | David Gwynne | |
bus_space_write_raw_region_8. disabling it for now. | |||
2013-01-15 | Factor out workunit initialisation code. | Joel Sing | |
ok krw@ | |||
2013-01-15 | Fix segmentation of buffers that straddle a boundary. | Mark Kettenis | |
ok dlg@ | |||
2013-01-15 | Allow SIGKILL to terminate coredumping processes. Semantics decided | Theo de Raadt | |
with kettenis guenther and beck. ok guenther | |||
2013-01-15 | Slice & dice coredump write requests into MAXPHYS blocks, and | Theo de Raadt | |
yield between operations. Re-grab the vnode every operation, so that multiple coredumps can be saved at the same time. ok guenther beck etc | |||
2013-01-15 | Loongson: Remove some of the unused defines. | Paul Irofti | |
Increases readability. | |||
2013-01-15 | use bus_space_write_raw_region_8 on 64bit archs when writing to the rings | David Gwynne | |
2013-01-15 | Loongson: Unbreak the tree after my last commit. | Paul Irofti | |
Patch appended my final work on glxclk to an earlier version that I forgot was there. | |||
2013-01-14 | map the registers PREFETCHABLE so things that can do write combining can | David Gwynne | |
try and do write combining like the myx doco likes. | |||
2013-01-14 | avoid extra bus_space barriers in the interrupt handler. | David Gwynne | |
2013-01-14 | use one interrupt handler for the thtc headend, rather than seperate | Theo de Raadt | |
interrupt handlers for the ports. this ensures that the 2nd port does not get starved. ok dlg | |||
2013-01-14 | after OpenBSD requested a etherip rev 3 to solve a byte order weakness, and | Theo de Raadt | |
worked with them to define a specific format, ietf quietly changed their mind and did something different. First step of transitioning over two release -- accept both types, but continue sending old format. pointed out by david.dahlberg@fkie.fraunhofer.de ok claudio | |||
2013-01-14 | Loongson: Replace the system clock provided by the CPU with a GLX MFGPT. | Paul Irofti | |
CPU throttling was not possible due to the fact that the system clock was the CPU clock. So slowing down the CPU would also slow down the passing of time. This commit adds a driver for the MFGPT1 clock from the AMD companion chip found on lemote and hooks it up as the system clock. It also changes the frequency value of hz from the default, which was 100, to 128. That's because the scaling on MFGPT clocks is represented by powers of two. Okay miod@. | |||
2013-01-14 | Fix the sotfware. | Joel Sing | |