Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 634
    • Issues 634
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 90
    • Merge requests 90
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Merge requests
  • !5568

Run the unbound tasks on thread 0

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Ondřej Surý requested to merge ondrej/simplify-unbound-tasks into main Nov 15, 2021
  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 3

Instead of picking the threadid randomly for unbound tasks, always run the unbound tasks on thread 0. This makes the task scheduling system more predictable.

Most of the code where this might create contention is already using bound tasks (one-per-cpu) and the rest of the contention critical should be converted in subsequent commits.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ondrej/simplify-unbound-tasks