summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-06-16wire stoeplitz code into the tree.David Gwynne
2020-06-15Implement a simple kqfilter for deadfs matching its poll handler.Martin Pieuchot
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-06-15Raise SPL when modifying ps_klist to prevent a race with interrupts.Visa Hankala
2020-06-14Remove misleading XXX about locking of ps_klist. All of the kqueueVisa Hankala
2020-06-12Revert addition of double underbars for filter-specific flag.Martin Pieuchot
2020-06-11Move FRELE() outside fdplock in dup*(2) code. This avoids a potentialVisa Hankala
2020-06-11Rename poll-compatibility flag to better reflect what it is.Martin Pieuchot
2020-06-11Make spec_kqfilter() and cttykqfilter() behave like their correspondingMartin Pieuchot
2020-06-11whitespace and speeling fix in a comment. no functional change.David Gwynne
2020-06-11make taskq_barrier wait for pending tasks, not just the running tasks.David Gwynne
2020-06-11get rid of a vestigial bit of the sbartq.David Gwynne
2020-06-10Move closef() outside fdplock() in sys_socketpair(). This preventsVisa Hankala
2020-06-07add support for running taskq_barrier from a task inside the taskq.David Gwynne
2020-05-30In automatic performance mode on systems with offline CPUs because of SMTsolene
2020-05-30Introduce kqueue_terminate() & kqueue_free(), no functional changes.Martin Pieuchot
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-29rndvar.h not needed hereTheo de Raadt
2020-05-28File allocation in socket(2) & socketpair(2) no longer need the KERNEL_LOCK().Martin Pieuchot
2020-05-25Revert "Add kqueue_scan_state struct"Visa Hankala
2020-05-25Pass bootblock indicator RB_GOODRANDOM to random_start(). Future workTheo de Raadt
2020-05-21Add missing ICANON check in filt_ptcwrite().Martin Pieuchot
2020-05-20clock_gettime(2): use nanoruntime(9) to get value for CLOCK_UPTIMEcheloha
2020-05-20timecounting: decide whether to advance offset within tc_windup()cheloha
2020-05-17Add function for attaching RTC drivers, to reduce direct useVisa Hankala
2020-05-17Add kqueue_scan_state structVisa Hankala
2020-05-16Make inittodr() and resettodr() MI.Mark Kettenis
2020-05-08Do not wait indefinitely for flushing when closing a tty.Martin Pieuchot
2020-04-29Ensure that if we are doing a delayed write with a NOCACHE buffer, weBob Beck
2020-04-15Fix panic message.Mark Kettenis
2020-04-12In sosplice(), temporarily release the socket lock before callinganton
2020-04-11Add soassertlocked() checks to sbappend() and sbappendaddr(). This bringsClaudio Jeker
2020-04-08Make fifo_kqfilter() honor FREAD|FWRITE just like fifo_poll() does.Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-07Defer selwakeup() from kqueue_wakeup() to kqueue_task() to preventVisa Hankala
2020-04-06Fix single thread behaviour in sleep_setup_signal(). If a thread needs toClaudio Jeker
2020-04-06futex(2): FUTEX_WAIT: rwsleep_nsec(9) at least one nanosecondcheloha
2020-04-05Declare pledgenames[] as const.Visa Hankala
2020-04-03Adjust SMR_ASSERT_CRITICAL() and SMR_ASSERT_NONCRITICAL() so that theVisa Hankala
2020-04-03Take an explicit write reference when associating a thread with a ktraceVisa Hankala
2020-04-02Introduce kqueue_sleep() a wrapper around the tsleep(9) dance.Martin Pieuchot
2020-03-31Move sleep_finish_all() down to where sleep_finish() and all otherClaudio Jeker
2020-03-31Revert previous, syzkaller found a way to trigger the KASSERT().Martin Pieuchot
2020-03-30Document that `a_p' is always curproc by using a KASSERT().Martin Pieuchot
2020-03-27Relax the lockcount assertion in vputonfreelist(). Back when I fixedanton
2020-03-26Revert Rev 1.164. Setting sls_sig to 0 uncovered a bunch of issues when itClaudio Jeker
2020-03-23Check the outcome of ktrstart() and skip tracing if the trace fileVisa Hankala
2020-03-23Prevent tsleep(9) with PCATCH from returning immediately without errorVisa Hankala
2020-03-22remove unused variable; ok beck@ mpi@anton
2020-03-21Stop tracing if vget(9) fails.Martin Pieuchot