aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking
AgeCommit message (Expand)AuthorFilesLines
2025-12-03Merge tag 'rcu.release.v6.19' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-2/+6
2025-12-01locking/mutex: Redo __mutex_init() to reduce generated code sizeSebastian Andrzej Siewior4-22/+40
2025-11-06locktorture: Fix memory leak in param_set_cpumask()Wang Liang1-2/+6
2025-10-21locking/spinlock/debug: Fix data-race in do_raw_write_lockAlexander Sverdlin1-2/+2
2025-09-29locking/local_lock: Introduce local_lock_is_locked().Alexei Starovoitov1-9/+0
2025-08-17Merge tag 'locking_urgent_for_v6.17_rc2' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-1/+5
2025-08-13locking: Fix __clear_task_blocked_on() warning from __ww_mutex_wound() pathJohn Stultz1-1/+5
2025-08-03Merge tag 'mm-nonmm-stable-2025-08-03-12-47' of git://git.kernel.org/pub/scm/...Linus Torvalds1-8/+23
2025-07-29Merge tag 'sysctl-6.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+18
2025-07-29Merge tag 'locking-core-2025-07-29' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds5-33/+34
2025-07-23locking/rtmutex: Move max_lock_depth into rtmutex.cJoel Granados1-0/+18
2025-07-19hung_task: extend hung task blocker tracking to rwsemsLance Yang1-1/+16
2025-07-19locking/rwsem: make owner helpers globally availableLance Yang1-7/+7
2025-07-14lockdep: Speed up lockdep_unregister_key() with expedited RCU synchronizationBreno Leitao1-2/+10
2025-07-14locking/mutex: Remove redundant #ifdefsRan Xiaokai1-4/+0
2025-07-14locking/lockdep: Change 'static const' variables to enum valuesArnd Bergmann1-8/+10
2025-07-14locking/lockdep: Avoid struct return in lock_stats()Arnd Bergmann2-16/+13
2025-07-14sched: Start blocked_on chain processing in find_proxy_task()Peter Zijlstra1-1/+2
2025-07-14locking/mutex: Add p->blocked_on wrappers for correctness checksValentin Schneider3-25/+19
2025-07-14locking/mutex: Rework task_struct::blocked_onPeter Zijlstra3-6/+43
2025-07-11locking/rwsem: Use OWNER_NONSPINNABLE directly instead of OWNER_SPINNABLEJinliang Zheng1-3/+1
2025-06-02Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds2-18/+36
2025-06-02rtmutex_api: provide correct extern functionsPaolo Bonzini1-12/+21
2025-05-31Merge tag 'mm-nonmm-stable-2025-05-31-15-28' of git://git.kernel.org/pub/scm/...Linus Torvalds2-8/+54
2025-05-27locking/mutex: implement mutex_lock_killable_nest_lockMaxim Levitsky1-3/+4
2025-05-27locking/mutex: implement mutex_trylock_nestedMaxim Levitsky1-3/+11
2025-05-26Merge tag 'locking-core-2025-05-25' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds3-35/+44
2025-05-11hung_task: show the blocker task if the task is hung on semaphoreLance Yang1-6/+51
2025-05-11hung_task: replace blocker_mutex with encoded blockerLance Yang1-2/+3
2025-05-06locking/lockdep: Add number of dynamic keys to /proc/lockdep_statsWaiman Long3-0/+6
2025-05-06locking/lockdep: Prevent abuse of lockdep subclassWaiman Long1-0/+3
2025-05-06locking/lockdep: Move hlock_equal() to the respective #ifdefferyAndy Shevchenko1-35/+35
2025-04-07locking/percpu-rwsem: add freezable alternative to down_readJames Bottomley1-5/+8
2025-04-01Merge tag 'mm-nonmm-stable-2025-03-30-18-23' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+14
2025-04-01Merge tag 'mm-stable-2025-03-30-16-52' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-03-30Merge tag 'locking-urgent-2025-03-28' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-0/+3
2025-03-30Merge tag 'bpf_res_spin_lock' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds5-197/+269
2025-03-27locking/lockdep: Decrease nr_unused_locks if lock unused in zap_class()Boqun Feng1-0/+3
2025-03-21hung_task: show the blocker task if the task is hung on mutexMasami Hiramatsu (Google)1-0/+14
2025-03-19rqspinlock: Add locktorture supportKumar Kartikeya Dwivedi1-0/+57
2025-03-19rqspinlock: Protect pending bit owners from stallsKumar Kartikeya Dwivedi1-0/+5
2025-03-19locking: Allow obtaining result of arch_mcs_spin_lock_contendedKumar Kartikeya Dwivedi1-3/+1
2025-03-19locking: Move common qspinlock helpers to a private headerKumar Kartikeya Dwivedi2-188/+206
2025-03-18locking: Move MCS struct definition to public headerKumar Kartikeya Dwivedi1-6/+0
2025-03-16percpu: use TYPEOF_UNQUAL() in variable declarationsUros Bizjak1-1/+1
2025-03-08locking/lockdep: Add kasan_check_byte() check in lock_acquire()Waiman Long1-0/+9
2025-03-08locking/lockdep: Disable KASAN instrumentation of lockdep.cWaiman Long1-1/+2
2025-03-08locking/lock_events: Add locking events for lockdepWaiman Long2-1/+14
2025-03-08locking/lock_events: Add locking events for rtmutex slow pathsWaiman Long2-5/+45
2025-03-08Merge branch 'locking/urgent' into locking/core, to pick up locking fixesIngo Molnar2-6/+11
2025-03-08locking/semaphore: Use wake_q to wake up processes outside lock critical sectionWaiman Long1-4/+9
2025-03-08locking/rtmutex: Use the 'struct' keyword in kernel-doc commentRandy Dunlap1-2/+2
2025-02-21locking/mutex: Add MUTEX_WARN_ON() into fast pathYunhui Cui1-0/+2
2025-01-28treewide: const qualify ctl_tables where applicableJoel Granados1-1/+1
2025-01-21Merge tag 'rcu.release.v6.14' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+3
2024-12-22Merge tag 'lockdep-for-tip.20241220' of git://git.kernel.org/pub/scm/linux/ke...Peter Zijlstra3-8/+8
2024-12-20sched/wake_q: Add helper to call wake_up_q after unlock with preemption disabledJohn Stultz2-39/+9
2024-12-19lockdep: Move lockdep_assert_locked() under #ifdef CONFIG_PROVE_LOCKINGAndy Shevchenko1-0/+2
2024-12-19lockdep: Mark chain_hlock_class_idx() with __maybe_unusedAndy Shevchenko1-1/+1
2024-12-17locking/rtmutex: Make sure we wake anything on the wake_q when we release the...John Stultz2-3/+17
2024-12-15lockdep: Document MAX_LOCKDEP_CHAIN_HLOCKS calculationCarlos Llamas1-1/+2
2024-12-15locking/ww_mutex/test: Use swap() macroThorsten Blum1-6/+3
2024-12-14torture: Add dowarn argument to torture_sched_setaffinity()Paul E. McKenney1-3/+3
2024-12-02locking: rtmutex: Fix wake_q logic in task_blocks_on_rt_mutexJohn Stultz1-3/+0
2024-11-19Merge tag 'sched-core-2024-11-18' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds9-81/+139
2024-10-25locking/osq_lock: Use atomic_try_cmpxchg_release() in osq_unlock()Uros Bizjak1-2/+1
2024-10-24locking/rtmutex: Fix misleading commentPeter Zijlstra1-4/+4
2024-10-24locking/rt: Annotate unlock followed by lock for sparse.Sebastian Andrzej Siewior1-0/+2
2024-10-24locking/rt: Add sparse annotation for RCU.Sebastian Andrzej Siewior1-7/+7
2024-10-17locking/pvqspinlock: Convert fields of 'enum vcpu_state' to uppercaseQiuxu Zhuo1-18/+18
2024-10-17lockdep: Use info level for lockdep initial info messagesJiri Slaby (SUSE)1-11/+11
2024-10-17lockdep: Add lockdep_cleanup_dead_cpu()David Woodhouse1-0/+24
2024-10-14locking/mutex: Expose __mutex_owner()Juri Lelli2-25/+27
2024-10-14locking/mutex: Make mutex::wait_lock irq safeJuri Lelli2-18/+21
2024-10-14locking/mutex: Remove wakeups from under mutex::wait_lockPeter Zijlstra8-38/+91
2024-10-09locking/ww_mutex: Adjust to lockdep nest_lock requirementsThomas Hellström1-3/+5
2024-10-07locking/spinlocks: Make __raw_* lock ops staticGeert Uytterhoeven1-4/+4
2024-09-29Merge tag 'locking-urgent-2024-09-29' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds3-30/+47
2024-09-29Merge branch 'locking/core' into locking/urgent, to pick up pending commitsIngo Molnar3-30/+47
2024-09-21Merge tag 'mm-nonmm-stable-2024-09-21-07-52' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+1
2024-09-19Merge tag 'sched-core-2024-09-19' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds3-5/+5
2024-09-17Merge tag 'printk-for-6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+81
2024-09-10locking/rwsem: Move is_rwsem_reader_owned() and rwsem_owner() under CONFIG_DE...Waiman Long1-12/+10
2024-09-01locking/ww_mutex/test: add MODULE_DESCRIPTION()Jeff Johnson1-0/+1
2024-08-21lockdep: Mark emergency sections in lockdep splatsJohn Ogness1-2/+81
2024-08-15rtmutex: Drop rt_mutex::wait_lock before schedulingRoland Xu1-4/+5
2024-08-08Merge tag 'bcachefs-2024-08-08' of git://evilpiepirate.org/bcachefsLinus Torvalds1-0/+6
2024-08-07sched/rt: Rename realtime_{prio, task}() to rt_or_dl_{prio, task}()Qais Yousef3-5/+5
2024-08-07sched/rt: Clean up usage of rt_task()Qais Yousef3-5/+5
2024-08-07lockdep: Fix lockdep_set_notrack_class() for CONFIG_LOCK_STATKent Overstreet1-0/+6
2024-08-06locking/lockdep: Simplify character output in seq_line()Markus Elfring1-1/+1
2024-08-06lockdep: fix deadlock issue between lockdep and rcuZhiguo Niu1-16/+32
2024-08-06lockdep: Use str_plural() to fix Coccinelle warningThorsten Blum1-1/+1
2024-08-05lockdep: suggest the fix for "lockdep bfs error:-1" on print_bfs_bugLuis Claudio R. Goncalves1-0/+3
2024-07-29locking/pvqspinlock: Correct the type of "old" variable in pv_kick_node()Uros Bizjak1-1/+1
2024-07-18Merge tag 'bcachefs-2024-07-18.2' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-1/+8
2024-07-16Merge tag 'net-next-6.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+8
2024-07-16Merge tag 'locking-core-2024-07-15' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-3/+3
2024-07-16Merge tag 'sysctl-6.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2024-07-16Merge tag 'for-linus-6.11-rc1-tag' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2024-07-14lockdep: lockdep_set_notrack_class()Kent Overstreet1-1/+8
2024-07-11x86/xen: remove deprecated xen_nopvspin boot parameterJuergen Gross1-1/+1
2024-07-09locking/rwsem: Add __always_inline annotation to __down_write_common() and in...John Stultz1-3/+3
2024-06-24locking/local_lock: Add local nested BH locking infrastructure.Sebastian Andrzej Siewior1-0/+8
2024-06-13locking: Remove superfluous sentinel element from kern_lockdep_tableJoel Granados1-1/+0
2024-05-30locktorture: Add MODULE_DESCRIPTION()Jeff Johnson1-0/+1
2024-05-22Merge tag 'leds-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/l...Linus Torvalds1-0/+12
2024-04-12locking/pvqspinlock: Use try_cmpxchg() in qspinlock_paravirt.hUros Bizjak1-8/+8
2024-04-12locking/pvqspinlock: Use try_cmpxchg_acquire() in trylock_clear_pending()Uros Bizjak1-18/+13
2024-04-11locking/mutex: Introduce devm_mutex_init()George Stark1-0/+12
2024-04-11locking/qspinlock: Use atomic_try_cmpxchg_relaxed() in xchg_tail()Uros Bizjak1-8/+5
2024-03-21locking/qspinlock: Always evaluate lockevent* non-event parameter onceWaiman Long2-3/+3
2024-03-01locking/rtmutex: Use try_cmpxchg_relaxed() in mark_rt_mutex_waiters()Uros Bizjak1-4/+5
2024-02-28locking/percpu-rwsem: Trigger contention tracepoints only if contendedNamhyung Kim1-3/+8
2024-02-28locking/rwsem: Clarify that RWSEM_READER_OWNED is just a hintWaiman Long1-3/+3
2024-02-28locking/qspinlock: Fix 'wait_early' set but not used warningWaiman Long1-1/+1
2024-01-12Merge tag 'rcu.release.v6.8' of https://github.com/neeraju/linuxLinus Torvalds1-9/+9
2024-01-10Merge tag 'header_cleanup-2024-01-10' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-0/+1
2024-01-02Merge tag 'v6.7-rc8' into locking/core, to pick up dependent changesIngo Molnar2-18/+22
2023-12-30locking/osq_lock: Clarify osq_wait_next()David Laight1-5/+4
2023-12-30locking/osq_lock: Clarify osq_wait_next() calling conventionDavid Laight1-12/+9
2023-12-30locking/osq_lock: Move the definition of optimistic_spin_node into osq_lock.cDavid Laight1-0/+7
2023-12-20sched.h: move pid helpers to pid.hKent Overstreet1-0/+1
2023-12-01locking/mutex: Document that mutex_unlock() is non-atomicJann Horn1-0/+5
2023-11-24lockdep: Fix block chain corruptionPeter Zijlstra1-1/+2
2023-11-23locktorture: Increase Hamming distance between call_rcu_chain and rcu_call_ch...Paul E. McKenney1-9/+9
2023-10-30Merge tag 'rcu-next-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/fr...Linus Torvalds1-52/+162
2023-10-30Merge tag 'locking-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds8-25/+96
2023-10-19locking: export contention tracepoints for bcachefs six locksBrian Foster1-0/+3
2023-10-12locking/lockdep: Fix string sizing bug that triggers a format-truncation comp...Lucy Mielke1-1/+1
2023-10-11locktorture: Check the correct variable for allocation failureDan Carpenter1-1/+1
2023-10-03locking/debug: Fix debugfs API return value checks to use IS_ERR()Atul Kumar Pant1-5/+5
2023-09-24locktorture: Rename readers_bind/writers_bind to bind_readers/bind_writersPaul E. McKenney1-14/+14
2023-09-24locktorture: Add call_rcu_chains module parameterPaul E. McKenney1-2/+60
2023-09-24locktorture: Add new module parameters to lock_torture_print_module_parms()Paul E. McKenney1-41/+23
2023-09-24locktorture: Add acq_writer_lim to complain about long acquistion timesPaul E. McKenney1-2/+13
2023-09-24locktorture: Consolidate "if" statements in lock_torture_writer()Paul E. McKenney1-3/+2
2023-09-24locktorture: Alphabetize torture_param() entriesPaul E. McKenney1-6/+6
2023-09-24locktorture: Add readers_bind and writers_bind module parametersPaul E. McKenney1-2/+62
2023-09-22locking/ww_mutex/test: Make sure we bail out instead of livelockJohn Stultz1-4/+5
2023-09-22locking/ww_mutex/test: Fix potential workqueue corruptionJohn Stultz1-8/+12
2023-09-22locking/ww_mutex/test: Use prng instead of rng to avoid hangs at bootupJohn Stultz1-2/+17
2023-09-20locking/rtmutex: Add a lockdep assert to catch potential nested blockingThomas Gleixner3-0/+6
2023-09-20locking/rtmutex: Use rt_mutex specific scheduler helpersSebastian Andrzej Siewior4-3/+29
2023-09-20locking/rtmutex: Avoid unconditional slowpath for DEBUG_RT_MUTEXESSebastian Andrzej Siewior2-2/+21
2023-08-29Merge tag 'mm-nonmm-stable-2023-08-28-22-48' of git://git.kernel.org/pub/scm/...Linus Torvalds1-22/+14
2023-08-28Merge tag 'x86-cleanups-2023-08-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-10/+10
2023-08-28Merge tag 'rcu.2023.08.21a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+7
2023-08-21lockdep: fix static memory detection even moreHelge Deller1-22/+14
2023-08-14torture: Add lock_torture writer_fifo module parameterDietmar Eggemann1-5/+7
2023-08-03x86/qspinlock-paravirt: Fix missing-prototype warningArnd Bergmann1-10/+10
2023-07-17locking/rtmutex: Fix task->pi_waiters integrityPeter Zijlstra4-76/+155
2023-06-28Merge tag 'mm-nonmm-stable-2023-06-24-19-23' of git://git.kernel.org/pub/scm/...Linus Torvalds1-0/+4
2023-06-27Merge tag 'locking-core-2023-06-27' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-31/+87
2023-06-27Merge tag 'rcu.2023.06.22a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-29/+22
2023-06-09locking: add lockevent_read() prototypeArnd Bergmann1-0/+4
2023-05-28Merge tag 'core-debugobjects-2023-05-28' of git://git.kernel.org/pub/scm/linu...Linus Torvalds1-7/+21
2023-05-19lockdep: Add lock_set_cmp_fn() annotationKent Overstreet1-31/+87
2023-05-11locktorture: Add long_hold to adjust lock-hold delaysPaul E. McKenney1-29/+22
2023-05-08locking/rwsem: Add __always_inline annotation to __down_read_common() and inl...John Stultz1-4/+4
2023-05-05Merge tag 'locking-core-2023-05-05' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-9/+0
2023-05-02debugobjects,locking: Annotate debug_object_fill_pool() wait type violationPeter Zijlstra1-7/+21
2023-04-29locking/rwbase: Mitigate indefinite writer starvationSebastian Andrzej Siewior1-9/+0
2023-04-24Merge tag 'rcu.6.4.april5.2023.3' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-8/+58
2023-03-27locking/lockdep: Improve the deadlock scenario print for sync and read lockBoqun Feng1-16/+32
2023-03-27locking: Reduce the number of locks in ww_mutex stress testsBoqun Feng1-1/+1
2023-03-27locking/lockdep: Introduce lock_sync()Boqun Feng1-0/+34
2023-03-07locktorture: Add raw_spinlock* torture tests for PREEMPT_RT kernelsZqiang1-1/+55
2023-03-07locktorture: With nested locks, occasionally skip main lockJohn Stultz1-10/+27
2023-03-07locktorture: Add nested locking to rtmutex torture testsJohn Stultz1-0/+35
2023-03-07locktorture: Add nested locking to mutex torture testsJohn Stultz1-0/+35
2023-03-07locktorture: Add nested_[un]lock() hooks and nlocks parameterJohn Stultz1-4/+19
2023-02-21Merge tag 'rcu.2023.02.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-43/+58
2023-02-20Merge tag 'sched-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+3
2023-02-20Merge tag 'locking-core-2023-02-20' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-37/+54
2023-02-06rtmutex: Ensure that the top waiter is always woken upWander Lairson Costa1-2/+3
2023-01-31cpuidle: lib/bug: Disable rcu_is_watching() during WARN/BUGPeter Zijlstra1-0/+3
2023-01-26locking/rwsem: Disable preemption in all down_write*() and up_write() code pathsWaiman Long1-19/+19
2023-01-26locking/rwsem: Disable preemption in all down_read*() and up_read() code pathsWaiman Long1-6/+24
2023-01-26locking/rwsem: Prevent non-first waiter from spinning in down_write() slowpathWaiman Long1-10/+9
2023-01-05locktorture: Make the rt_boost factor a tunableJoel Fernandes (Google)1-5/+7
2023-01-05locktorture: Allow non-rtmutex lock types to be boostedJoel Fernandes (Google)1-43/+56
2023-01-05locking/qspinlock: Micro-optimize pending state waiting for unlockGuo Ren1-2/+2
2023-01-01Merge tag 'locking_urgent_for_v6.2_rc2' of git://git.kernel.org/pub/scm/linux...Linus Torvalds2-12/+49
2022-12-13Merge tag 'mm-stable-2022-12-13' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+0
2022-12-12rtmutex: Add acquire semantics for rtmutex lock acquisition slow pathMel Gorman2-12/+49
2022-12-11lockdep: allow instrumenting lockdep.c with KMSANAlexander Potapenko1-1/+0
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-2/+2
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-2/+2
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+2
2022-10-10Merge tag 'locking-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds7-43/+55
2022-10-03kmsan: disable instrumentation of unsupported common kernel codeAlexander Potapenko1-1/+2
2022-09-21locking/lockdep: Print more debug information - report name and key when look...Tetsuo Handa1-2/+4
2022-09-21Merge tag 'v6.0-rc6' into locking/core, to refresh the branchIngo Molnar1-1/+1
2022-09-15locking: Add __sched to semaphore functionsNamhyung Kim1-6/+6
2022-09-15locking/rwsem: Disable preemption while trying for rwsem lockGokul krishna Krishnakumar1-2/+12
2022-08-30locking/percpu-rwsem: Add percpu_is_write_locked() and percpu_is_read_locked()Marco Elver1-0/+6
2022-08-19locking: Add __lockfunc to slow path functionsNamhyung Kim3-5/+5
2022-08-04locking/spinlocks: Mark spinlocks noinline when inline spinlocks are disabledAndi Kleen1-28/+28
2022-08-02Merge tag 'rcu.2022.07.26a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1