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
  • sched
  • debug.c
Find file BlameHistoryPermalink
  • Nathan Zimmer's avatar
    sched: Fix /proc/sched_debug failure on very very large systems · bbbfeac9
    Nathan Zimmer authored Feb 21, 2013
    
    
    On systems with 4096 cores attemping to read /proc/sched_debug
    fails because we are trying to push all the data into a single
    kmalloc buffer.
    
    The issue is on these very large machines all the data will not
    fit in 4mb.
    
    A better solution is to not us the single_open mechanism but to
    provide our own seq_operations and treat each cpu as an
    individual record.
    
    The output should be identical to the previous version.
    
    Reported-by: default avatarDave Jones <davej@redhat.com>
    Signed-off-by: default avatarNathan Zimmer <nzimmer@sgi.com>
    Cc: Peter Zijlstra <peterz@infradead.org>)
    [ Whitespace fixlet]
    [ Fix spello in comment]
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
    bbbfeac9
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7