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
  • include
  • linux
  • stackdepot.h
Find file BlameHistoryPermalink
  • Marco Elver's avatar
    lib/stackdepot: introduce __stack_depot_save() · 11ac25c6
    Marco Elver authored Nov 05, 2021
    Add __stack_depot_save(), which provides more fine-grained control over
    stackdepot's memory allocation behaviour, in case stackdepot runs out of
    "stack slabs".
    
    Normally stackdepot uses alloc_pages() in case it runs out of space;
    passing can_alloc==false to __stack_depot_save() prohibits this, at the
    cost of more likely failure to record a stack trace.
    
    Link: https://lkml.kernel.org/r/20210913112609.2651084-4-elver@google.com
    
    
    Signed-off-by: default avatarMarco Elver <elver@google.com>
    Tested-by: default avatarShuah Khan <skhan@linuxfoundation.org>
    Acked-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
    Reviewed-by: default avatarAndrey Konovalov <andreyknvl@gmail.com>
    Cc: Alexander Potapenko <glider@google.com>
    Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: "Gustavo A. R. Silva" <gustavoars@kernel.org>
    Cc: Lai Jiangshan <jiangshanlai@gmail.com>
    Cc: Taras Madan <tarasmadan@google.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Vijayanand Jitta <vjitta@codeaurora.org>
    Cc: Vinayak Menon <vinmenon@codeaurora.org>
    Cc: Walter Wu <walter-zh.wu@mediatek.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    11ac25c6
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7