Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-rt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • David Runge
  • linux-rt
  • Repository

Switch branch/tag
  • linux-rt
  • kernel
  • locking
  • lockdep.c
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    lockdep: Let lock_is_held_type() detect recursive read as read · 7a36ff33
    Sebastian Andrzej Siewior authored Sep 03, 2021
    lock_is_held_type(, 1) detects acquired read locks. It only recognized
    locks acquired with lock_acquire_shared(). Read locks acquired with
    lock_acquire_shared_recursive() are not recognized because a `2' is
    stored as the read value.
    
    Rework the check to additionally recognise lock's read value one and two
    as a read held lock.
    
    Fixes: e9181886
    
     ("locking: More accurate annotations for read_lock()")
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Acked-by: default avatarWaiman Long <longman@redhat.com>
    Acked-by: default avatarBoqun Feng <boqun.feng@gmail.com>
    Link: https://lkml.kernel.org/r/20210910135312.4axzdxt74rgct2ur@linutronix.de
    7a36ff33

Replace lockdep.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.