summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2018-02-21Call socreate() before falloc() in sys_socket().Martin Pieuchot
2018-02-20Make ddb's "show all locks" command show spinlocks in additionVisa Hankala
2018-02-20Introduce enternewpgrp() & enterthispgrp(), from FreeBSD via guenther@.Martin Pieuchot
2018-02-19Grab solock() inside soconnect2() instead of asserting for it to be held.Martin Pieuchot
2018-02-19Change some returns into gotos, will help keeping the unlocking pathMartin Pieuchot
2018-02-19Include <sys/mutex.h> directly instead of relying on other headers toMartin Pieuchot
2018-02-19Directly include sys/mplock.h when needed instead of depending onJonathan Gray
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-18Revert previous. It triggers mbuf pool exhaustion on arm64.Mark Kettenis
2018-02-14Put WITNESS only functions with the rest of the locking primitives.Martin Pieuchot
2018-02-11Revert rev 1.163. Causes network issues in Firefox.Matthieu Herrb
2018-02-10Merge license blocks now that they are identical.Martin Pieuchot
2018-02-10Artur Grabowski agreed to relicense his C mutex implementation under ISC.Martin Pieuchot
2018-02-10Move cleanup job control bits to their own function.Martin Pieuchot
2018-02-10mbufs and mbuf clusters are now backed by large pools. Because of thisClaudio Jeker
2018-02-10Syncronize filesystems to disk when suspending. Each mountpoint's vnodesTheo de Raadt
2018-02-10Use sched_pause(yield) to decide when to yield when filling randomdata.mortimer
2018-02-09Call socreate() before falloc() in sys_socket().Martin Pieuchot
2018-02-08Remove CSRG copyright, there isn't any code left from Berkeley here.Martin Pieuchot
2018-02-08Use a temporary chacha instance to fill large randomdata sections. Avoidsmortimer
2018-02-06slightly randomize the order that new pages populate their item lists in.David Gwynne
2018-02-06reduce scope of variable a bit to avoid shadowingTed Unangst
2018-01-25Move common mutex implementations to a MI place.Martin Pieuchot
2018-01-18While booting it does not make sense to wait for memory, there isAlexander Bluhm
2018-01-16garbage collect an unused variableSebastian Benoit
2018-01-13introduce a filter called EVFILT_DEVICE that can be used to notifyRobert Nagy
2018-01-11Postpone secondary CPUs until after mounthook activities. This isPatrick Wildt
2018-01-10Mark sosplice task mp safe, do not grab kernel lock for tcp output.Alexander Bluhm
2018-01-09Change `so_state' and `so_error' to unsigned int such that they canMartin Pieuchot
2018-01-08Do not pass a userland pointer to ktrabstimespec().Martin Pieuchot
2018-01-08Allow TIOCUCNTL issued on a pty(4) master in promise "tty".Martin Pieuchot
2018-01-08Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave toMartin Pieuchot
2018-01-05Show uvm_fault and trace when typing show panic on a page fault'd kernelPaul Irofti
2018-01-04Unifdef snd/rcv.Martin Pieuchot
2018-01-02Do not memset() the whole structure in sorflush() to keep `sb_flagsintr'Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2018-01-02Fix an off-by-one in the free(9) "passed size was too small" check:Philip Guenther
2018-01-01free(9) sizes for sys_execve.Florian Obser
2018-01-01We are either allocating 2 or three array members. Unroll while loopFlorian Obser
2018-01-01copyright++;Jonathan Gray
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-12-29Make sure that pf_mbuf_link_state_key() does not overwrite anAlexander Bluhm
2017-12-29Make the functions which link the pf state keys to mbufs, inpcbs,Alexander Bluhm
2017-12-19curproc access isn't necessarily as cheap as a local variable access,Theo de Raadt
2017-12-19Remove unused ps_stackgap from process structStefan Kempf
2017-12-19Remove a 27 year old #ifdef notdef chunk involving SB_LOCK.Martin Pieuchot
2017-12-19Inline socket buffer related defines, no functional change.Martin Pieuchot
2017-12-19Remove unnecessary unlock/lock dance when following a goto.Martin Pieuchot
2017-12-18Revert support for multiple threads to enter kqueue_scan() in parallel.Martin Pieuchot