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
  • net
  • core
  • dev.c
Find file BlameHistoryPermalink
  • Sebastian Andrzej Siewior's avatar
    net: Add lockdep asserts to ____napi_schedule(). · fbd9a2ce
    Sebastian Andrzej Siewior authored Mar 11, 2022
    
    
    ____napi_schedule() needs to be invoked with disabled interrupts due to
    __raise_softirq_irqoff (in order not to corrupt the per-CPU list).
    ____napi_schedule() needs also to be invoked from an interrupt context
    so that the raised-softirq is processed while the interrupt context is
    left.
    
    Add lockdep asserts for both conditions.
    While this is the second time the irq/softirq check is needed, provide a
    generic lockdep_assert_softirq_will_run() which is used by both caller.
    
    Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fbd9a2ce
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7