summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2018-05-28rwsleep: generalize to support both read- and write-locks.cheloha
2018-05-28Constipate a bunch of time functionsPhilip Guenther
2018-05-28regenMartin Pieuchot
2018-05-28Grab the KERNEL_LOCK() after socreate() and soconnect2() in socket(2)Martin Pieuchot
2018-05-28Returns EBUSY if dup2(2) is called for a LARVAL file.Martin Pieuchot
2018-05-27Add missing #include "audio.h" needed for the NAUDIO macro.Alexandre Ratchov
2018-05-27Drop unnecessary `p' parameter from vget(9).Visa Hankala
2018-05-26Condition the new audio_record_enable pieces on NAUDIO > 0, fixingStuart Henderson
2018-05-26In addition to "on" and "off", allow the audio "record.enable" mixerAlexandre Ratchov
2018-05-22kevent: correctly check that timeout's nanoseconds are on [0, 1000000000)cheloha
2018-05-22nanosleep: ensure tv_nsec input is on [0, 1000000000)cheloha
2018-05-22Prevent NET_LOCK() recursion when releasing the last `fp' reference.Martin Pieuchot
2018-05-16Fix misleading indentation.Visa Hankala
2018-05-16Print stack traces on lock order conflict.Visa Hankala
2018-05-16Add kern.witnesswatch sysctl for controlling witness(4). By default,Visa Hankala
2018-05-14Stopping counting and reporting CPU time spent spinning on a lock asMartin Pieuchot
2018-05-09Remove witness_channel and always use console outputVisa Hankala
2018-05-08Socket splicing can delay operations by task or timeout. IntroduceAlexander Bluhm
2018-05-08Use fd_getfile() in sysctl_file() instead of rewriting it.Martin Pieuchot
2018-05-08When looping over mount points, the FOREACH SAVE macro is not save.Alexander Bluhm
2018-05-08Change fd_iterfile() to not return imature fps instead of skipping themMartin Pieuchot
2018-05-08Move the vfs stall "barrier" logic to a function. FREF() will soonMartin Pieuchot
2018-05-08Protect per-file counters and document which lock is used to protectMartin Pieuchot
2018-05-07Zap two unused variables.Visa Hankala
2018-05-07Make the print function of db_print_stack_trace() configurable,Visa Hankala
2018-05-07Grab the KERNEL_LOCK() for unix/routing/pfkey sockets in solock()...Martin Pieuchot
2018-05-07Print the vp pointer in the vinvalbuf() panic strings.Alexander Bluhm
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-05-02Record lock type even if witness is disabled. The value will be neededVisa Hankala
2018-04-30Treat all negative values of witness_watch equally for robustness.Visa Hankala
2018-04-29In hash{free,init}(), there's no need to calculate the size of the hash table ifanton
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-04-28Remove redundant error checkkn
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-26Remove solock() surrounding PRU_CONTROL in soo_ioctl().Paul Irofti
2018-04-26Drop into ddb(4) if pmap_tlb_shoot*() take too much time in MP_LOCKDEBUGMartin Pieuchot
2018-04-26Rewrite fdcopy() to avoid memcpy()s.Martin Pieuchot
2018-04-25Teach mtx_enter_try(9) to avoid deadlocks after a panic.Martin Pieuchot
2018-04-25Introduce fd_iterfile() a new helper function to iterate over `filehead'.Martin Pieuchot
2018-04-24Make futex(2) also return ECANCELED in case SA_RESTART was set.Paul Irofti
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.Paul Irofti
2018-04-18Do a FREF()/FRELE() dance after fd_getfile() in sys_fcntl().Martin Pieuchot
2018-04-18Call FREF(9) earlier instead of incrementing `f_count' by hand.Martin Pieuchot
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2018-04-12Restore the original BSDI $Id$ strings. Those were mangled by CVSVisa Hankala
2018-04-12Use the current reference instead of incrementing `f_count' manually andMartin Pieuchot
2018-04-12Call FREF(9) earlier instead of incrementing `f_count' directly inMartin Pieuchot
2018-04-11The pledge flag for file descriptors opened from /dev/fd was alwaysAlexander Bluhm
2018-04-10Do not call logwakeup(), ending in wakeup_n(), while holding a mutex.Martin Pieuchot