summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2018-04-10Convert 'struct fileops' definitions to C99.Martin Pieuchot
2018-04-09Revert previous, it introduced a bug found the hardway by landry@.Martin Pieuchot
2018-04-09Do a FREF()/FRELE() dance after fd_getfile() and before calling vref(9)Martin Pieuchot
2018-04-09Call finishdup() instead of rerolling it in dupfdopen().Martin Pieuchot
2018-04-09Call FREF() right after fd_getfile_mode() in sys_ioctl().Martin Pieuchot
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butPhilip Guenther
2018-04-08Test for preexisting conditions when re-enabling eventsMike Belopuhov
2018-04-06Retain the UF_PLEDGED flag from the original fd during dup(2).Alexander Bluhm
2018-04-03Move FREF()s just after fd_getfile() in sys_kevent(), sys_lseek() andMartin Pieuchot
2018-04-03Add proper FREF()/FRELE() dance in sys_fchdir().Martin Pieuchot