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
  • trace
  • ring_buffer.c
Find file BlameHistoryPermalink
  • Steven Rostedt (Google)'s avatar
    ring-buffer: Add ring_buffer_wake_waiters() · 7e9fbbb1
    Steven Rostedt (Google) authored Sep 28, 2022
    On closing of a file that represents a ring buffer or flushing the file,
    there may be waiters on the ring buffer that needs to be woken up and exit
    the ring_buffer_wait() function.
    
    Add ring_buffer_wake_waiters() to wake up the waiters on the ring buffer
    and allow them to exit the wait loop.
    
    Link: https://lkml.kernel.org/r/20220928133938.28dc2c27@gandalf.local.home
    
    Cc: stable@vger.kernel.org
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Fixes: 15693458
    
     ("tracing/ring-buffer: Move poll wake ups into ring buffer code")
    Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    7e9fbbb1
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7