summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
2020-01-14Introduce TIMESPEC_TO_NSEC() and use it to convert userland facingMartin Pieuchot
2020-01-13regenVisa Hankala
2020-01-13Unlock a tiny part of the kqueue subsystem: kqueue(2).Visa Hankala
2020-01-13Allocate kqueue instance outside fdplock to avoid sleeping withVisa Hankala
2020-01-13Raise ipl of the softclock thread to IPL_SOFTCLOCK.Martin Pieuchot
2020-01-12condense commentanton
2020-01-12Get rid of redundant parenthesis.anton
2020-01-12*sleep_nsec(9): sleep *at least* the given number of nanosecondscheloha
2020-01-11Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2020-01-10Use atomic operations with kq_refs, to nudge the code toward MP-safety.Visa Hankala
2020-01-10Convert the vnode list at the mount point into a tailq. DuringAlexander Bluhm
2020-01-09Replace the global pipe_lock with a more fine-grained lock per pipeanton
2020-01-09Convert sleeps of 1sec or more to tsleep_nsec(9).Martin Pieuchot
2020-01-08Skip fdplock when freeing a file descriptor table. The lock is notVisa Hankala
2020-01-08Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP andVisa Hankala
2020-01-08Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2020-01-06Use type M_KEVENT instead of M_TEMP when allocating kqueue-relatedVisa Hankala
2020-01-06Make kqlist part of filedesc and serialize access to it using fdplock.Visa Hankala
2020-01-05Constify instances of struct fileops.Visa Hankala
2020-01-04Eliminate some minor differences between pipe_read() and pipe_write():anton
2020-01-03timeout(9): delay thread wakeup(9) decision to end of softclock() loopcheloha
2020-01-03Rename the pipe I/O lock routines for improved clarity. This is just aanton
2020-01-03Retire csignal() the last users were converted to use pgsigio(9) instead.Claudio Jeker
2020-01-03Fix a file descriptor close race in kqueue_register()Visa Hankala
2020-01-03timeout(9): Add timeout_set_flags(9) and TIMEOUT_INITIALIZER_FLAGS(9)cheloha
2020-01-03timeout(9): Rename the TIMEOUT_NEEDPROCCTX flag to TIMEOUT_PROC.cheloha
2020-01-02Change /dev/log to use pgsigio(9) and sigio_init(9) like it was done forClaudio Jeker
2020-01-02regenanton
2020-01-02Unlock pipe(2) and pipe2(2). The kernel lock does not provide anyanton
2020-01-02Exclude offline cpus in KERN_CPTIME calculation. Without this too highClaudio Jeker
2020-01-01copyright++;Jonathan Gray
2019-12-31Fix some races in kqueue_register().Visa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-12-30convert infinite msleep(9) to msleep_nsec(9)Jonathan Gray
2019-12-30clear B_NOCACHE if the buffer has dependencies for softdep, sinceBob Beck
2019-12-30Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-30In vcount() a safe loop over vnodes was commited to 4.4BSD in 1994.Alexander Bluhm
2019-12-29Wake up knote waiters in knote_drop(). This lets the blockedVisa Hankala
2019-12-27Convert the speclisth hash buckets into SLIST macros. This makesAlexander Bluhm
2019-12-27Remove the kernel lock in pipe read and write routines since everythinganton
2019-12-26tsleep -> tsleep_nsec(9) in setroot()kn
2019-12-26Fix white spaces.Alexander Bluhm
2019-12-26Move extern declarations of vfsops variables into header file.Alexander Bluhm
2019-12-25Replace macros knote_alloc() and knote_free() with direct use ofVisa Hankala
2019-12-25Condense a few multi line comments into single line ones. While hereanton
2019-12-25Protect remaining fields of `struct pipe' using the pipe_lock. In orderanton
2019-12-25timeout(9): new flag: TIMEOUT_SCHEDULED, new statistic: tos_scheduledcheloha
2019-12-24The console buffer is allocated during startup. initconsbuf() isAlexander Bluhm
2019-12-24regenVisa Hankala