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
  • rcu
  • tiny_plugin.h
Find file BlameHistoryPermalink
  • Himangi Saraogi's avatar
    rcu: Protect uses of ->jiffies_stall with ACCESS_ONCE() · af952b91
    Himangi Saraogi authored Mar 12, 2014
    
    
    Some of the accesses to the rcu_state structure's ->jiffies_stall
    field are unprotected. This patch protects them with ACCESS_ONCE().
    The following coccinelle script was used to acheive this:
    /* coccinelle script to protect uses of ->jiffies_stall with ACCESS_ONCE() */
    @@
    identifier a;
    @@
    (
    	ACCESS_ONCE(a->jiffies_stall)
    |
    -	a->jiffies_stall
    +	ACCESS_ONCE(a->jiffies_stall)
    )
    
    Signed-off-by: default avatarHimangi Saraogi <himangi774@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
    af952b91
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7