aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking
AgeCommit message (Expand)AuthorFilesLines
2021-08-17locking/rtmutex: Provide rt_mutex_slowlock_locked()Thomas Gleixner2-43/+59
2021-08-17locking/rtmutex: Split out the inner parts of 'struct rtmutex'Peter Zijlstra3-68/+75
2021-08-17locking/rtmutex: Split API from implementationThomas Gleixner4-498/+514
2021-08-17locking/rtmutex: Switch to from cmpxchg_*() to try_cmpxchg_*()Thomas Gleixner1-2/+2
2021-08-17locking/rtmutex: Convert macros to inlinesSebastian Andrzej Siewior1-4/+27
2021-08-17locking/rtmutex: Set proper wait context for lockdepThomas Gleixner1-1/+1
2021-08-17Merge tag 'v5.14-rc6' into locking/core, to pick up fixesIngo Molnar8-36/+48
2021-08-10locking/rtmutex: Use the correct rtmutex debugging config optionZhen Lei1-1/+1
2021-07-27locktorture: Count lock readersPaul E. McKenney1-5/+4
2021-07-27locktorture: Mark statistics data racesPaul E. McKenney1-7/+9
2021-07-16locking/rwsem: Remove an unused parameter of rwsem_wake()xuyehan1-3/+3
2021-07-11Merge tag 'locking-urgent-2021-07-11' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-12/+14
2021-07-07locking/mutex: Add MUTEX_WARN_ONPeter Zijlstra1-20/+10
2021-07-07locking/mutex: Introduce __mutex_trylock_or_handoff()Peter Zijlstra1-24/+36
2021-07-07locking/mutex: Fix HANDOFF conditionPeter Zijlstra1-10/+5
2021-07-07locking/mutex: Use try_cmpxchg()Peter Zijlstra1-21/+6
2021-07-05locking/lockdep: Fix meaningless /proc/lockdep output of lock classes on !CON...Xiongwei Song1-12/+14
2021-07-04Merge branch 'core-rcu-2021.07.04' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+4
2021-06-28Merge tag 'sched-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds4-7/+7
2021-06-28Merge tag 'locking-core-2021-06-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-8/+119
2021-06-22locking/lockdep: Correct the description error for check_redundant()Xiongwei Song1-1/+1
2021-06-22lockdep: Fix wait-type for empty stackPeter Zijlstra1-1/+1
2021-06-22lockding/lockdep: Avoid to find wrong lock dep path in check_irq_usage()Boqun Feng1-1/+11
2021-06-22locking/lockdep: Remove the unnecessary trace savingBoqun Feng1-3/+0
2021-06-22locking/lockdep: Fix the dep path printing for backwards BFSBoqun Feng1-2/+106
2021-06-22locking/lockdep: Improve noinstr vs errorsPeter Zijlstra1-1/+3
2021-06-18sched: Change task_struct::statePeter Zijlstra3-6/+6
2021-06-18sched: Introduce task_is_running()Peter Zijlstra1-1/+1
2021-05-18locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signalZqiang4-11/+17
2021-05-18locking/lockdep: Correct calling tracepointsLeo Yan1-2/+2
2021-05-10lockdep: Explicitly flag likely false-positive reportPaul E. McKenney1-2/+4
2021-05-06locking/qrwlock: Cleanup queued_write_lock_slowpath()Waiman Long1-3/+3
2021-04-28Merge tag 'locking-core-2021-04-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds14-652/+326
2021-04-26Merge tag 'tomoyo-pr-20210426' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1Linus Torvalds2-5/+5
2021-04-17locking/qrwlock: Fix ordering in queued_write_lock_slowpath()Ali Saidi1-3/+4
2021-04-11Merge tag 'locking-urgent-2021-04-11' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-2/+3
2021-04-05lockdep: Allow tuning tracing capacity constants.Tetsuo Handa2-5/+5
2021-03-29locking/rtmutex: Clean up signal handling in __rt_mutex_slowlock()Thomas Gleixner1-12/+7
2021-03-29locking/rtmutex: Restrict the trylock WARN_ON() to debugThomas Gleixner1-1/+1
2021-03-29locking/rtmutex: Fix misleading comment in rt_mutex_postunlock()Thomas Gleixner1-1/+1
2021-03-29locking/rtmutex: Consolidate the fast/slowpath invocationThomas Gleixner1-85/+59
2021-03-29locking/rtmutex: Make text section and inlining consistentThomas Gleixner1-76/+76
2021-03-29locking/rtmutex: Move debug functions as inlines into common headerThomas Gleixner5-119/+25
2021-03-29locking/rtmutex: Decrapify __rt_mutex_init()Thomas Gleixner2-6/+11
2021-03-29locking/rtmutex: Remove pointless CONFIG_RT_MUTEXES=n stubsThomas Gleixner1-42/+20
2021-03-29locking/rtmutex: Inline chainwalk depth checkThomas Gleixner1-8/+3
2021-03-29locking/rtmutex: Move rt_mutex_debug_task_free() to rtmutex.cThomas Gleixner2-6/+8
2021-03-29locking/rtmutex: Remove empty and unused debug stubsThomas Gleixner4-32/+0
2021-03-29locking/rtmutex: Remove output from deadlock detectorSebastian Andrzej Siewior5-123/+1
2021-03-29locking/rtmutex: Remove rtmutex deadlock tester leftoversSebastian Andrzej Siewior5-14/+1
2021-03-29locking/rtmutex: Remove rt_mutex_timed_lock()Sebastian Andrzej Siewior1-46/+0
2021-03-22lockdep: Address clang -Wformat warning printing for %hdArnd Bergmann1-1/+1
2021-03-22locking: Fix typos in commentsIngo Molnar8-13/+13
2021-03-21lockdep: Add a missing initialization hint to the "INFO: Trying to register n...Tetsuo Handa1-1/+2
2021-03-19locking/locktorture: Fix incorrect use of ww_acquire_ctx in ww_mutex testWaiman Long1-12/+27
2021-03-19locking/locktorture: Pass thread id to lock/unlock functionsWaiman Long1-36/+58
2021-03-19locking/locktorture: Fix false positive circular locking splat in ww_mutex testWaiman Long1-3/+14
2021-03-19Merge branch 'locking/urgent' into locking/core, to pick up dependent commitsIngo Molnar1-11/+14
2021-03-17locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handlingWaiman Long1-11/+14
2021-03-17locking/rwsem: Fix comment typoBhaskar Chowdhury1-1/+1
2021-03-11kernel/futex: Kill rt_mutex_next_owner()Davidlohr Bueso2-21/+0
2021-03-06lockdep: Add lockdep lock state definesShuah Khan1-5/+6
2021-03-06lockdep: Add lockdep_assert_not_held()Shuah Khan1-1/+5
2021-02-26kernel: delete repeated words in commentsRandy Dunlap3-4/+4
2021-02-21Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-1/+0
2021-02-21Merge tag 'sched-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-36/+18
2021-02-21Merge tag 'locking-core-2021-02-17' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds6-75/+152
2021-02-17rbtree, rtmutex: Use rb_add_cached()Peter Zijlstra1-36/+18
2021-02-12Merge branch 'for-mingo-rcu' of git://git.kernel.org/pub/scm/linux/kernel/git...Ingo Molnar1-1/+0
2021-02-12Merge branch 'linus' into locking/core, to pick up upstream fixesIngo Molnar3-6/+9
2021-02-11locking/arch: Move qrwlock.h include after qspinlock.hWaiman Long1-1/+0
2021-02-10locking/mutex: Kill mutex_trylock_recursive()Sebastian Andrzej Siewior1-10/+0
2021-02-10lockdep: Noinstr annotate warn_bogus_irq_restore()Peter Zijlstra1-1/+3
2021-02-05locking/lockdep: Avoid unmatched unlockPeter Zijlstra1-1/+2
2021-01-29locking/rwsem: Remove empty rwsem.hNikolay Borisov1-0/+0
2021-01-28locking/rtmutex: Add missing kernel-doc markupAlex Shi1-6/+11
2021-01-26rtmutex: Remove unused argument from rt_mutex_proxy_unlock()Thomas Gleixner2-4/+2
2021-01-22Merge branches 'doc.2021.01.06a', 'fixes.2021.01.04b', 'kfree_rcu.2021.01.04a...Paul E. McKenney1-1/+0
2021-01-22lockdep: report broken irq restorationMark Rutland2-0/+12
2021-01-14locking/lockdep: Exclude local_lock_t from IRQ inversionsBoqun Feng1-4/+53
2021-01-14locking/lockdep: Clean up check_redundant() a bitPeter Zijlstra1-42/+49
2021-01-14locking/lockdep: Add a skip() function to __bfs()Boqun Feng1-10/+19
2021-01-14locking/lockdep: Mark local_lock_tPeter Zijlstra1-7/+9
2021-01-12locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEPPeter Zijlstra1-1/+6
2021-01-12locking/lockdep: Cure noinstr failPeter Zijlstra1-1/+1
2021-01-04locking: Remove duplicate include of percpu-rwsem.hWang Qing1-1/+0
2020-12-14Merge tag 'locking-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-251/+138
2020-12-14Merge tag 'core-rcu-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-6/+30
2020-12-09locking/rwsem: Remove reader optimistic spinningWaiman Long2-240/+49
2020-12-09locking/rwsem: Enable reader optimistic lock stealingWaiman Long2-0/+29
2020-12-09locking/rwsem: Prevent potential lock starvationWaiman Long1-2/+13
2020-12-09locking/rwsem: Pass the current atomic count to rwsem_down_read_slowpath()Waiman Long1-8/+10
2020-12-09locking/rwsem: Fold __down_{read,write}*()Peter Zijlstra1-22/+23
2020-12-09locking/rwsem: Introduce rwsem_write_trylock()Peter Zijlstra1-22/+16
2020-12-09locking/rwsem: Better collate rwsem_read_trylock()Peter Zijlstra1-7/+8
2020-12-09rwsem: Implement down_read_interruptibleEric W. Biederman1-0/+26
2020-12-09rwsem: Implement down_read_killable_nestedEric W. Biederman1-0/+14
2020-11-17lockdep: Put graph lock/unlock under lock_recursion protectionBoqun Feng1-2/+4
2020-11-10lockdep: Avoid to modify chain keys in validate_chain()Boqun Feng1-10/+9
2020-11-06locktorture: Invoke percpu_free_rwsem() to do percpu-rwsem cleanupHou Tao1-5/+21
2020-11-06locktorture: Prevent hangs for invalid argumentsPaul E. McKenney1-0/+5
2020-11-06locktorture: Ignore nreaders_stress if no readlock supportHou Tao1-1/+2
2020-11-06locktorture: Track time of last ->writeunlock()Paul E. McKenney1-0/+2
2020-11-01Merge tag 'locking-urgent-2020-11-01' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-13/+7
2020-10-30lockdep: Fix nr_unused_locks accountingPeter Zijlstra1-10/+4
2020-10-30locking/lockdep: Remove more raw_cpu_read() usagePeter Zijlstra1-1/+1
2020-10-22lockdep: Fix preemption WARN for spurious IRQ-enablePeter Zijlstra1-2/+2
2020-10-18Merge tag 'core-rcu-2020-10-12' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2020-10-09Merge branch 'locking/urgent' into locking/core, to pick up fixesIngo Molnar3-56/+101
2020-10-09lockdep: Fix lockdep recursionPeter Zijlstra1-40/+59
2020-10-09lockdep: Fix usage_traceoverflowPeter Zijlstra2-19/+20
2020-10-09Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/pau...Ingo Molnar1-1/+1
2020-09-29lockdep: Optimize the memory usage of circular queueBoqun Feng1-39/+60
2020-09-16locking/percpu-rwsem: Use this_cpu_{inc,dec}() for read_countHou Tao1-2/+2
2020-09-03locking/lockdep: Fix "USED" <- "IN-NMI" inversionspeterz@infradead.org2-6/+31
2020-08-26lockdep: Take read/write status in consideration when generate chainkeyBoqun Feng1-18/+35
2020-08-26lockdep: Add recursive read locks into dependency graphBoqun Feng1-17/+2
2020-08-26lockdep: Fix recursive read lock related safe->unsafe detectionBoqun Feng1-47/+141
2020-08-26lockdep: Adjust check_redundant() for recursive read changeBoqun Feng1-3/+44
2020-08-26lockdep: Support deadlock detection for recursive read locks in check_noncirc...Boqun Feng1-8/+35
2020-08-26lockdep: Make __bfs(.match) return boolBoqun Feng1-10/+10
2020-08-26lockdep: Extend __bfs() to work with multiple types of dependenciesBoqun Feng1-19/+94
2020-08-26lockdep: Introduce lock_list::depBoqun Feng1-4/+88
2020-08-26lockdep: Reduce the size of lock_list::distanceBoqun Feng1-3/+3
2020-08-26lockdep: Make __bfs() visit every dependency until a matchBoqun Feng1-26/+35
2020-08-26lockdep: Demagic the return value of BFSBoqun Feng1-66/+89
2020-08-26locking: More accurate annotations for read_lock()Boqun Feng1-0/+14
2020-08-26lockdep,trace: Expose tracepointsPeter Zijlstra1-5/+9
2020-08-26lockdep: Use raw_cpu_*() for per-cpu variablesPeter Zijlstra1-2/+2
2020-08-24locktorture: Make function torture_percpu_rwsem_init() staticWei Yongjun1-1/+1
2020-08-10Merge tag 'locking-urgent-2020-08-10' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2020-08-06Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-0/+7
2020-08-06Merge tag 'sched-fifo-2020-08-04' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+2
2020-08-06Merge branch 'WIP.locking/seqlocks' into locking/urgentIngo Molnar1-21/+59
2020-08-04Merge tag 'uninit-macro-v5.9-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+8
2020-08-03Merge tag 'locking-core-2020-08-03' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-49/+99
2020-08-03Merge branch 'locking/nmi' into locking/core, to pick up completed topic branchIngo Molnar1-1/+7
2020-08-01Merge branch 'kcsan' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck...Ingo Molnar1-1/+5
2020-07-31lockdep: Refactor IRQ trace events fields into structMarco Elver1-28/+30
2020-07-27locking/lockdep: Fix TRACE_IRQFLAGS vs. NMIspeterz@infradead.org1-1/+7
2020-07-25locking/lockdep: Fix overflow in presentation of average lock-timeChris Wilson1-1/+1
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-8/+8
2020-07-10lockdep: Remove lockdep_hardirq{s_enabled,_context}() argumentPeter Zijlstra1-15/+15
2020-07-10lockdep: Change hardirq{s_enabled,_context} to per-cpu variablesPeter Zijlstra1-15/+15
2020-07-10lockdep: Prepare for NMI IRQ state trackingPeter Zijlstra1-4/+42
2020-07-08x86/kvm: Add "nopvspin" parameter to disable PV spinlocksZhenzhong Duan1-0/+7
2020-06-29locking/osq_lock: Annotate a data race in osq_lockQian Cai1-1/+5
2020-06-29Merge branches 'doc.2020.06.29a', 'fixes.2020.06.29a', 'kfree_rcu.2020.06.29a...Paul E. McKenney2-10/+8
2020-06-29locktorture: Use true and false to assign to bool variablesZou Wei1-7/+7
2020-06-29lockdep: Complain only once about RCU in extended quiescent statePaul E. McKenney1-3/+1
2020-06-15sched,locktorture: Convert to sched_set_fifo()Peter Zijlstra1-8/+2
2020-06-13Merge tag 'x86-entry-2020-06-12' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-2/+2
2020-06-11Rebase locking/kcsan to locking/urgentThomas Gleixner1-0/+3
2020-06-11lockdep: __always_inline more for noinstrPeter Zijlstra1-2/+2
2020-06-09kernel: rename show_stack_loglvl() => show_stack()Dmitry Safonov1-1/+1
2020-06-09kernel: use show_stack_loglvl()Dmitry Safonov1-1/+1
2020-06-09kallsyms/printk: add loglvl to print_ip_sym()Dmitry Safonov1-2/+2
2020-06-03Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvmLinus Torvalds1-21/+65
2020-06-01Merge tag 'locking-core-2020-06-01' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds2-3/+1
2020-05-19locking/lockdep: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-05-19lockdep: Always inline lockdep_{off,on}()Peter Zijlstra1-19/+0
2020-05-19lockdep: Prepare for noinstr sectionsPeter Zijlstra1-21/+65
2020-04-27locking/rtmutex: Remove unused rt_mutex_cmpxchg_relaxed()Alex Shi1-2/+0
2020-04-13Merge tag 'v5.7-rc1' into locking/kcsan, to resolve conflicts and refreshIngo Molnar10-231/+750
2020-04-08locking/lockdep: Improve 'invalid wait context' splatPeter Zijlstra1-20/+31
2020-04-08locking/percpu-rwsem: Fix a task_struct refcountQian Cai1-1/+2
2020-03-30Merge tag 'x86-entry-2020-03-30' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-6/+6
2020-03-30Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds8-217/+723
2020-03-21Merge branches 'doc.2020.02.27a', 'fixes.2020.03.21a', 'kfree_rcu.2020.02.20a...Paul E. McKenney2-8/+9
2020-03-21lockdep: Rename trace_{hard,soft}{irq_context,irqs_enabled}()Peter Zijlstra1-4/+4
2020-03-21lockdep: Rename trace_softirqs_{on,off}()Peter Zijlstra1-2/+2
2020-03-21lockdep: Add hrtimer context tracing bitsSebastian Andrzej Siewior1-1/+1
2020-03-21lockdep: Introduce wait-type checksPeter Zijlstra4-11/+137
2020-03-21rcuwait: Add @state argument to rcuwait_wait_event()Peter Zijlstra (Intel)1-1/+1
2020-03-21kcsan: Make KCSAN compatible with lockdepMarco Elver1-0/+3
2020-03-20lockdep: Teach lockdep about "USED" <- "IN-NMI" inversionsPeter Zijlstra1-3/+59
2020-03-20locking/lockdep: Rework lockdep_lockPeter Zijlstra1-41/+48
2020-03-20locking/lockdep: Fix bad recursion patternPeter Zijlstra1-34/+40
2020-03-20locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()Boqun Feng1-0/+4
2020-02-20locktorture: Forgive apparent unfairness if CPU hotplugPaul E. McKenney1-1/+2
2020-02-20locktorture: Use private random-number generatorsPaul E. McKenney1-2/+2
2020-02-20locktorture: Print ratio of acquisitions, not failuresPaul E. McKenney1-4/+4
2020-02-20locking/rtmutex: rcu: Add WRITE_ONCE() to rt_mutex ->ownerPaul E. McKenney1-1/+1
2020-02-11locking/percpu-rwsem: Add might_sleep() for writer lockingDavidlohr Bueso1-0/+1
2020-02-11locking/percpu-rwsem: Fold __percpu_up_read()Davidlohr Bueso1-15/+0
2020-02-11locking/rwsem: Remove RWSEM_OWNER_UNKNOWNPeter Zijlstra1-2/+0
2020-02-11locking/percpu-rwsem: Remove the embedded rwsemPeter Zijlstra3-58/+116
2020-02-11locking/percpu-rwsem: Extract __percpu_down_read_trylock()Peter Zijlstra1-6/+13
2020-02-11locking/percpu-rwsem: Move __this_cpu_inc() into the slowpathPeter Zijlstra1-0/+2
2020-02-11locking/percpu-rwsem: Convert to boolPeter Zijlstra1-4/+4
2020-02-11locking/percpu-rwsem, lockdep: Make percpu-rwsem use its own lockdep_mapPeter Zijlstra3-6/+16
2020-02-11locking/lockdep: Reuse freed chain_hlocks entriesWaiman Long3-15/+255
2020-02-11locking/lockdep: Track number of zapped lock chainsWaiman Long3-0/+7
2020-02-11locking/lockdep: Throw away all lock chains with zapped classWaiman Long3-36/+7
2020-02-11locking/lockdep: Track number of zapped classesWaiman Long3-0/+9
2020-02-11locking/lockdep: Display irq_context names in /proc/lockdep_chainsWaiman Long1-1/+8
2020-02-11locking/lockdep: Decrement IRQ context counters when removing lock chainWaiman Long2-17/+29
2020-02-04proc: convert everything to "struct proc_ops"Alexey Dobriyan1-8/+7
2020-01-28Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds3-21/+19
2020-01-17locking/osq: Use optimized spinning loop for arm64Waiman Long1-13/+10