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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • trace
  • ring_buffer_benchmark.c
Find file BlameHistoryPermalink
  • Peter Zijlstra's avatar
    sched,tracing: Convert to sched_set_fifo() · 4fd5750a
    Peter Zijlstra authored Jul 20, 2020
    One module user of sched_setscheduler() was overlooked and is
    obviously causing build failures.
    
    Convert ring_buffer_benchmark to use sched_set_fifo_low() when fifo==1
    and sched_set_fifo() when fifo==2. This is a bit of an abuse, but it
    makes the thing 'work' again.
    
    Specifically, it enables all combinations that were previously
    possible:
    
      producer higher than consumer
      consumer higher than producer
    
    Fixes: 616d91b6
    
     ("sched: Remove sched_setscheduler*() EXPORTs")
    Reported-by: default avatarkernel test robot <lkp@intel.com>
    Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Reviewed-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    Link: https://lkml.kernel.org/r/20200720214918.GM5523@worktop.programming.kicks-ass.net
    4fd5750a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7