summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2019-05-08print a few warnings when calling free with a zero size.Ted Unangst
2019-05-08group function prototypesanton
2019-05-08Add a compile-time option called SPLASSERT_WATCH which changes theanton
2019-05-08Modify the buffer cache to always flip recovered DMA buffers high.Bob Beck
2019-05-06Bring back lockf deadlock detection from the dead. Back in 2007, the deadlockanton
2019-05-04Removed all diagnostic, calling printf() here might create a recursion.Martin Pieuchot
2019-05-04Relax the check in knote_{de,en}queue: don't panic w/o KERNEL_LOCK().Martin Pieuchot
2019-05-03Make VOP_ADVLOCK() safe to use without kernel lockVisa Hankala
2019-05-01add a KERNEL_ASSERT_LOCKED() to ptsignalDavid Gwynne
2019-05-01sprinkle some KERNEL_ASSERT_LOCKED()David Gwynne
2019-04-30tc_setclock: always call tc_windup() before leaving windup_mtx.cheloha
2019-04-28add WITNESS support to barriers modelled on the timeout stuff visa did.David Gwynne
2019-04-23Remove file name and line number output from witness(4)Visa Hankala
2019-04-20#define ELFROUNDSIZE 4 /* XXX Should it be sizeof(Elf_Word)? */Theo de Raadt
2019-04-20print locked range in decimal in debug routinesanton
2019-04-20Move lockf structures from header to implementation since external usersanton
2019-04-19Add a subsystem lock for vfs_lockf.c. This enables calling lf_advlock()Visa Hankala
2019-04-16Use the actual cluster size instead of fixed MCLBYTES for theYASUOKA Masahiko
2019-04-14Add lock order checking for timeoutsVisa Hankala
2019-04-02Restrict which filesystems are available for swap. This rules outVisa Hankala
2019-04-02retguard has now replaced the stack protector on clang architectures,Theo de Raadt
2019-04-01deprecate TASKQ_CANTSLEEP since nothing uses it anymoreDavid Gwynne
2019-03-31Move the prototypes of internal lockf functions from <sys/lockf.h>Visa Hankala
2019-03-26Tweak previous: include <sys/stdint.h> for INT64_MAX/INT64_MIN.cheloha
2019-03-26adjtime(2): set EINVAL if delta overflows 64 bits of microseconds.cheloha
2019-03-26Remove this assert, I can't do this here with UNVEIL_INSPECTBob Beck
2019-03-26Make sure that each ci has its spc_deferred queue initialized.Visa Hankala
2019-03-25MP-safe timecounting: new rwlock: tc_lockcheloha
2019-03-24Make stat(2) and access(2) need UNVEIL_READ instead of UNVEIL_INSPECTBob Beck
2019-03-23Add a simple spinning mutex for ddb. Unlike mutex(9), this lock keepsVisa Hankala
2019-03-22Move adjtimedelta into the timehands.cheloha
2019-03-22Rename "timecounter_mtx" to "windup_mtx".cheloha
2019-03-19correct LOCATION_REPORTED maskanton
2019-03-18Add kubsan(4), a undefined behavior sanitizer for the kernel. It'santon
2019-03-17Change boot time/offset within tc_windup().cheloha
2019-03-15Remove FBSDID.Kevin Lo
2019-03-11Bring back revision 1.91 now that vmd has been fixed, repeating theanton
2019-03-10Move adjtimedelta from kern_time.c to kern_tc.c.cheloha
2019-03-09tc_windup: read active timecounter once at function start.cheloha
2019-03-06Revert revision 1.91. It results in significant log spam whenTheo Buehler
2019-03-04When closing the slave end of a pty, generate an EOF event to any kqueueanton
2019-03-04Yet another (unsigned) cast who's only purpose is to incorrectly truncateTheo de Raadt
2019-02-26Introduce safe memory reclamation, a mechanism for reclaiming sharedVisa Hankala
2019-02-25Fix memory barrier in __mtx_leave(). membar_exit_before_atomic() cannotVisa Hankala
2019-02-24always include the lock id address in debug outputanton
2019-02-24initialize struct lockf fields in a consistent order; ok millert@ mpi@ visa@anton
2019-02-19open the coredump file non-blocking. cheloha found it blocks with a fifo.Ted Unangst
2019-02-17if a write fails, we mark the buffer invalid and throw it away. this canTed Unangst
2019-02-15let sbcreatecontrol take a const void * instead of a caddr_t.David Gwynne
2019-02-14Allow *at variant of mkfifo and mknod, too.Florian Obser