summaryrefslogtreecommitdiff
path: root/sys/kern/sys_lwp.c
AgeCommit message (Expand)Author
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-05-05lwp_unpark(): no need to acquire LWP refs or drop the proc lock.ad
2020-04-24Overhaul the way LWP IDs are allocated. Instead of each LWP having it'sthorpej
2020-04-22Remove _lwp_gettid(2) system call. This problem is going to be solvedthorpej
2020-04-19Set LW_SINTR earlier so it doesn't pose a problem for doing interruptablead
2020-04-04Add support for lazily generating a "global thread ID" for a LWP. Thisthorpej
2020-01-30Update commentsad
2020-01-29- Track LWPs in a per-process radixtree. It uses no extra memory in thead
2020-01-26Correction to previous: don't leak newuc if copyout() fails.ad
2020-01-25- Fix a race between the kernel and libpthread, where a new thread can startad
2019-11-23Minor scheduler cleanup:ad
2019-09-30Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfokamil
2019-07-10Fix info leak: instead of using SS_INIT as a literal compound, use a globalmaxv
2019-07-01Restrict the size given to copyoutstr. It is safer to do that; even ifmaxv
2019-05-03Register KTR events for debugger related signalskamil
2019-05-02Introduce fixes for ptrace(2)kamil
2019-05-01Call MD code in mi_startlwp() before MI check for debuggerkamil
2019-05-01Correct passing debugger related events for LWP create and exitkamil
2018-01-30Apply C99-style struct initialization to syncobj_tozaki-r
2017-12-08make _lwp_park return the remaining time to sleep in the "ts" argumentchristos
2017-06-01remove checks for failure after memory allocation calls that cannot fail:chs
2017-04-21Try to fix build of sys_lwp.ckamil
2017-04-21- Propagate the signal mask from the ucontext_t to the newly created threadchristos
2017-01-15use a bound string copymaya
2015-07-24Unused inits (harmless).maxv
2013-03-29Centralize the computation of struct timespec to the int timo.christos
2012-09-27exit_lwps, lwp_wait: fix a race condition by re-trying if p_lock was droppedrmind
2012-05-21Calling _lwp_create() with a bogus ucontext could trigger a kernelmartin
2012-02-19Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!rmind
2010-07-07many changes for COMPAT_LINUX:chs
2010-06-13increment p_nrlwps in lwp_create rather than letting callers do soyamt
2010-06-06Follow the correct locking protocol when creating an LWP and the processskrll
2010-04-23Remove lwp_uc_pool, replace it with kmem(9), plus add some consistency.rmind
2009-11-01- Move inittimeleft() and gettimeleft() to subr_time.c, where they belong.rmind
2009-10-22Make lwp_park_sobj and lwp_park_tab static.rmind
2009-10-21Remove uarea swap-out functionality:rmind
2009-03-29_lwp_setprivate: provide the value to MD code if a hook is present.ad
2009-01-11merge christos-time_tchristos
2008-10-16_lwp_kill: set SI_LWP in the siginfo, not SI_USER.ad
2008-10-15Merge wrstuden-revivesa into HEAD.wrstuden
2008-05-26Take the mutex pointer and waiters count out of sleepq_t: the values canad
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-24Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, sincead
2008-04-24Network protocol interrupts can now block on locks, so merge the globalsad
2008-03-17Add a boolean parameter to syncobj_t::sobj_unsleep. If true we want thead
2008-03-12+2008 for the copyrightad
2008-03-12Add a preemption counter to lwpctl_t, to allow user threads to detect thatad
2008-02-14Make schedstate_percpu::spc_lwplock an exernally allocated item. Removead
2008-01-02Merge vmlocking2 to head.ad