summaryrefslogtreecommitdiff
path: root/sys/kern/kern_lwp.c
AgeCommit message (Expand)Author
2023-04-09kern: KASSERT(A && B) -> KASSERT(A); KASSERT(B)riastradh
2022-07-01kern: Fix comment about precondition of lwp_update_creds.riastradh
2022-05-22fix various small typos, mainly in comments.andvar
2022-05-07bump maxthreads default.mrg
2022-04-09kern: Handle l_mutex with atomic_store_release, atomic_load_consume.riastradh
2022-03-10kern: Fix synchronization of clearing LP_RUNNING and lwp_free.riastradh
2021-12-22Do the last change differently:thorpej
2021-12-21Rather than calling xc_barrier() in lwp_dtor(), set a pre-destruct hookthorpej
2021-09-28futex_release_all_lwp(): No need to pass the "tid" argument separately; thatthorpej
2021-01-13Improve English in commentsskrll
2020-06-22Permanent node doesn't need a log, plus the log gets leaked anyway. Foundmaxv
2020-06-06lwp_exit(): add a warning about (l != curlwp)ad
2020-06-01lwp_thread_cleanup(): Remove overly-aggressive assertion.thorpej
2020-05-23Move proc_lock into the data segment. It was dynamically allocated becausead
2020-05-23- Replace pid_table_lock with a lockless lookup covered by pserialize, withad
2020-04-29- proc_find() retains traditional semantics of requiring the canonicalthorpej
2020-04-26Add a NetBSD native futex implementation, mostly written by riastradh@.thorpej
2020-04-24Overhaul the way LWP IDs are allocated. Instead of each LWP having it'sthorpej
2020-04-19lwp_wait(): don't need to check for process exit, cv_wait_sig() does it.ad
2020-04-04Add support for lazily generating a "global thread ID" for a LWP. Thisthorpej
2020-04-04Drop specificdata from KCOV, kMSan doesn't interact well with it. Alsomaxv
2020-03-26Fix crash observed with procfs on current-users by David Hopper. LWP refcntad
2020-03-26softint_overlay() (slow case) gains ~nothing but creates potential headaches.ad
2020-03-08PR kern/55020: dbregs_dr?_dont_inherit_lwp test cases fail on real hardwaread
2020-02-27Remove an unneeded ifdef MULTIPROCESSOR.ad
2020-02-15- Move the LW_RUNNING flag back into l_pflag: updating l_flag without lockad
2020-02-15PR kern/54922: 9.99.45@20200202 panic: diagnostic assertion linux ldconfig tr...ad
2020-02-11fix compilation failure for arches without l_pcu_validdogcow
2020-02-11Preserve pcu(9) state in fork.riastradh
2020-01-29- Track LWPs in a per-process radixtree. It uses no extra memory in thead
2020-01-27- lwp_wait(): if the process is exiting and no progress is being made, wakead
2020-01-26Update a comment.ad
2020-01-22Catch a leaked hold of kernel_lock sooner with DIAGNOSTIC and make thead
2020-01-12Remove some unneeded kernel_lock handling.ad
2020-01-08Hopefully fix some problems seen with MP support on non-x86, in particularad
2019-12-06Make it possible to call mi_switch() and immediately switch to another CPU.ad
2019-12-03Rip out pserialize(9) logic now that the RCU patent has expired.riastradh
2019-12-01Fix a longstanding problem with LWP limits. When changing the user'sad
2019-11-24lwp_start(): don't try to change the target CPU. Fixes potential panicad
2019-11-24Put section attribute for turnstile0 in the correct place. For LLVM.ad
2019-11-23Minor scheduler cleanup:ad
2019-11-21lwp_setlock(): return pointer to the kmutex_t that we replacedad
2019-11-21lwp_create:ad
2019-11-21- lwp_need_userret(): only do it if ONPROC and !curlwp, and explain why.ad
2019-11-14Add support for Kernel Memory Sanitizer (kMSan). It detects uninitializedmaxv
2019-11-10Ensure that the second LWP of a new process uses a free LWP ID.joerg
2019-11-07Preserve the LWP ID of the calling thread on (v)fork. This ensures thatjoerg
2019-10-06xc_barrier - convenience function to xc_broadcast() a nop.uwe
2019-10-03Separate flag for suspended by _lwp_suspend and suspended by a debuggerkamil
2019-09-30Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfokamil