Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • Q Qemu
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • riscv
  • Qemu
  • Repository
Switch branch/tag
  • qemu
  • configure
Find file BlameHistoryPermalink
  • Stefan Hajnoczi's avatar
    block: compile out assert_bdrv_graph_readable() by default · 84d839e4
    Stefan Hajnoczi authored May 01, 2023
    
    
    reader_count() is a performance bottleneck because the global
    aio_context_list_lock mutex causes thread contention. Put this debugging
    assertion behind a new ./configure --enable-debug-graph-lock option and
    disable it by default.
    
    The --enable-debug-graph-lock option is also enabled by the more general
    --enable-debug option.
    
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Message-Id: <20230501173443.153062-1-stefanha@redhat.com>
    Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    (cherry picked from commit 58a2e3f5
    
    )
    Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
    (Mjt: pick this one up so the next patch which disables this applies cleanly)
    84d839e4