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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • locking
  • spinlock_rt.c
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    locking: Remove rt_rwlock_is_contended(). · e08f343b
    Sebastian Andrzej Siewior authored Nov 29, 2021
    
    
    rt_rwlock_is_contended() has no users. It makes no sense to use it as
    rwlock_is_contended() because it is a sleeping lock on RT and
    preemption is possible. It reports always != 0 if used by a writer and
    even if there is a waiter then the lock might not be handed over if
    the current owner has the highest priority.
    
    Remove rt_rwlock_is_contended().
    
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lore.kernel.org/r/20211129174654.668506-3-bigeasy@linutronix.de
    e08f343b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7