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
  • task_work.c
Find file BlameHistoryPermalink
  • Linus Torvalds's avatar
    task_work: make TWA_NMI_CURRENT handling conditional on IRQ_WORK · cec6937d
    Linus Torvalds authored Jul 29, 2024
    The TWA_NMI_CURRENT handling very much depends on IRQ_WORK, but that
    isn't universally enabled everywhere.
    
    Maybe the IRQ_WORK infrastructure should just be unconditional - x86
    ends up indirectly enabling it through unconditionally enabling
    PERF_EVENTS, for example.  But it also gets enabled by having SMP
    support, or even if you just have PRINTK enabled.
    
    But in the meantime TWA_NMI_CURRENT causes tons of build failures on
    various odd minimal configs.  Which did show up in linux-next, but
    despite that nobody bothered to fix it or even inform me until -rc1 was
    out.
    
    Fixes: 466e4d80
    
     ("task_work: Add TWA_NMI_CURRENT as an additional notify mode")
    Reported-by: default avatarNaresh Kamboju <naresh.kamboju@linaro.org>
    Reported-by: default avatarkernelci.org bot <bot@kernelci.org>
    Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    cec6937d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7