Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • locking
  • rtmutex-debug.h
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    locking/rtmutex: Remove output from deadlock detector · 6d41c675
    Sebastian Andrzej Siewior authored Mar 26, 2021
    The rtmutex specific deadlock detector predates lockdep coverage of rtmutex
    and since commit f5694788
    
     ("rt_mutex: Add lockdep annotations") it
    contains a lot of redundant functionality:
    
     - lockdep will detect an potential deadlock before rtmutex-debug
       has a chance to do so
    
     - the deadlock debugging is restricted to rtmutexes which are not
       associated to futexes and have an active waiter, which is covered by
       lockdep already
    
    Remove the redundant functionality and move actual deadlock WARN() into the
    deadlock code path. The latter needs a seperate cleanup.
    
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lore.kernel.org/r/20210326153943.320398604@linutronix.de
    6d41c675
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7