summaryrefslogtreecommitdiffstats
path: root/sys (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* The linux emulation exit hook needs to be able to sleep, so call itguenther2012-07-091-7/+8
| | | | | | before changing p_stat to SDEAD ok pirofti@
* Print the fd_set used by select in kdump.claudio2012-07-092-2/+18
| | | | OK guenther@ and deraadt@
* Tedu old comment concerning cpu affinity which does not apply anymore.haesbaert2012-07-091-11/+2
| | | | ok blambert@ krw@ tedu@ miod@
* Remove apic_intrcount counting in the interrupt handlers. Not that usefulderaadt2012-07-092-4/+2
| | | | | anymore as a debugging tool, and it is in a rather critical path. ok kettenis
* Remove a useless macroderaadt2012-07-091-4/+2
|
* In reboot, no need to sched_peg_curproc() to the primary, becausederaadt2012-07-091-19/+2
| | | | | sched_stop_secondary_cpus() leaves us on the only cpu which is left. ok kettenis haesbaert guenther
* tiny little oops in untested hibernate blockderaadt2012-07-091-2/+1
|
* After a resume, re-initialize the MTRR registers on the AP processorsderaadt2012-07-092-2/+12
| | | | | | | as well. This fixes very slow performance due to lots of uncached memory on buggy machines, for instance on very large memory thinkpad W500 and such. ok mlarkin kettenis sthen
* Enable support for the 'weight' keyword in the 'least-states'zinke2012-07-091-6/+28
| | | | | | | | | load balancing case, this allows Weighted Least States (WLS). Everything prepared on c2k11 with help from mcbride@. This finally makes PF ready for the cloud. ok henning@ mikeb@ pyr@
* clean up ioctl() case statementsderaadt2012-07-091-12/+12
|
* acpi_disable_onegpe() is not used; ok piroftideraadt2012-07-091-18/+1
|
* Revert previous.krw2012-07-091-2/+2
| | | | | | The standards gpds are jealous gods. kettenis@ and beck@ have shown EROFS is the wrong thing to return. So revert to EACCES until a better error code is decided on.
* Compare the size of the static fd_mask against the number of bytes neededclaudio2012-07-091-2/+2
| | | | | not against the number bit / number of fds in the select set. ok guenther@
* DVACT_SUSPEND must be done at cold with interrupts disabled. Failurederaadt2012-07-091-9/+15
| | | | | to read a hibernate image should restore the spl ok mlarkin
* Do not re-initialize ci_randseed on the primary cpuderaadt2012-07-094-15/+16
| | | | ok kettenis
* unify com at cardbus attachmentsderaadt2012-07-092-4/+4
|
* The comment above amd64_mrinit_cpu() was way too specific and wrong.deraadt2012-07-081-3/+2
|
* Quiesce and suspend devices in the resuming kernel for hibernate.mlarkin2012-07-081-1/+7
| | | | ok deraadt@
* Move the hibernate utility pages up to account for the MP tramp page.mlarkin2012-07-081-4/+4
| | | | ok deraadt@
* apm_kqfilter() is goneguenther2012-07-082-4/+2
| | | | ok nicm@
* Instead of casting interface address pointers, use the macrobluhm2012-07-081-22/+13
| | | | | ifatoia6(). No binary diff. OK henning@
* kevent(EV_DELETE) shouldn't be calling closef(), as that releases POSIXguenther2012-07-081-10/+5
| | | | | | file locks. c.f. regress/sys/kern/kqueue/kqueue-flock.c ok krw@
* Use IO_NOLIMIT instead of munging the process's limitsguenther2012-07-081-18/+3
| | | | ok beck@
* Instead of casting interface address pointers, use the macros NULLbluhm2012-07-081-6/+6
| | | | | and ifatoia(). No binary diff. OK blambert@ henning@ claudio@
* Don't need to worry about the ATI driver here anymore.kettenis2012-07-081-9/+1
|
* Return EROFS when a read-write mount of a read-only sd(4) devicekrw2012-07-081-2/+2
| | | | | | | | | | is attempted. This is instead of the current EACCES and is intended to result in better error messages from mount(8). Tweak default EROFS error text to mention fsck'ing in mount_ext2fs and mount_msdos since they both have fsck's like ffs. ok deraadt@ aja@ ian@ phessler@
* Make hibernate_free() safe to be called even if hibernate areasderaadt2012-07-081-7/+20
| | | | | allocation failed ok mlarkin
* Reorganize some hibernate functions for easier readability.mlarkin2012-07-082-92/+121
| | | | | | Fix some incorrect/old comments. ok deraadt@
* Don't hold the fd-table lock across vn_open(), as opening a FIFO may block.guenther2012-07-083-24/+43
| | | | | | Having done that, dupfdopen() has to handle a possible race. ok matthew@ krw@
* Add support for advertising dns servers and search paths in routerphessler2012-07-081-1/+19
| | | | | | | | advertisements, according to RFC 6106. original diff from Stephane A. Sezer on tech@, many thanks! OK phessler@, todd@
* regenstsp2012-07-082-2/+7
|
* add another BCM43224 ID; ok and tweak mpi@stsp2012-07-081-1/+2
|
* there was a limit on the number of pflog interfaces - 16. remove that.henning2012-07-083-17/+46
| | | | | mostly by dynamically allocating pflogifs instead of making that a static array. ok claudio zinke
* syncderaadt2012-07-072-2/+7
|
* another netmos cardbus serial; espie owns itderaadt2012-07-071-1/+2
|
* Fix two races in socket splicing. When somove() gets called frombluhm2012-07-071-4/+9
| | | | | | | | | | | sosplice() to move the data already there, it might sleep in m_copym(). Another process must not unsplice during that sleep, so also lock the receive buffer when sosplice is called with fd -1. The same sleep can allow network interrupts to modify the socket buffer. So use sbsync() to write back modifications within the loop instead of fixing the socket buffer after the loop. OK claudio@
* regenjasper2012-07-072-4/+9
|
* add the x200 camerajasper2012-07-071-1/+2
| | | | ok mpi@
* rename prio in struct pf_rule and related structs to set_prio so it ishenning2012-07-073-30/+31
| | | | | | | utterly clear this is not a filter criteria but a packet modification thing. also preparation for upcoming changes, including one to unscrew this mess (I should not have to touch half the tree for this - ifixitlater) not user visible, ok gcc
* restore DIOCKILLSTATE semantics to what they were before the NAT rewrite.henning2012-07-071-2/+3
| | | | | | | | | | | when you kill states by IP, it is not all that clear which IP we're talking about - before or after rewriting? the old semantics were to always look at the "original" IP, i. e. before rewriting. ever since the NAT rewrite we were unconditionally looking at the wire side state key, which is the original address for PF_IN states, but not for PF_OUT. So look at the SK_STACK state key in the PF_OUT case. should fix "authpf doesn't remove NAT states" seen on misc a while ago ok & testing & half of the analysis bob (he sez beck)
* When aborting a transfer set the halted bit to the QH's qTD and removempi2012-07-071-112/+16
| | | | | superflous code. This fix an abort loop problem reported by Gerhard Roth, based on his initial diff. Has been in snap for some weeks, ok deraadt@
* Support for USB keyboards that use a variable for each separate key in themlarkin2012-07-072-43/+71
| | | | | | HID report. Fixes certain gaming-style USB keyboards. ok miod@ deraadt@
* rewrite the receive filter programming to look similar to othermikeb2012-07-061-87/+38
| | | | | drivers - from brad; while here initialized a stack variable before usage as pointed out by david hill.
* Correct the jumbo setup code within brgphy(4). The code had a mistakesthen2012-07-051-3/+3
| | | | and was actually disabling the jumbo settings for the PHY. From Brad.
* set the prefetch threshold for 99'er as well. provides some additionalmikeb2012-07-051-1/+7
| | | | performance improvement. obtained from freebsd.
* enable the code that forces a cleanup if number of tx descriptorsmikeb2012-07-052-10/+4
| | | | | is below the threshold. noticed by brad. tweak threshold values to get a bit of a performance increase.
* Add flow control to bnx(4)phessler2012-07-052-4/+70
| | | | | | | | Tested on 5706, 5708, 5709, 5716 chipsets. From Brad OK phessler@, sthen@, mikeb@,
* regenkettenis2012-07-052-4/+9
|
* NVIDIA GeForce 320M as found on the 2010 version of the Apple Mac mini.kettenis2012-07-051-2/+3
| | | | From Brad.
* Concatenating strings doesn't require __CONCAT() (and must not in standard C)guenther2012-07-052-4/+4
| | | | ok miod@