Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-vs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vs
  • Merge requests
  • !3

Product/mpam/vendor hooks v2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Ghost User requested to merge product/mpam/vendor_hooks_v2 into product/mpam/vendor_hooks_collab Jun 09, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 3

Changes since v1

  • Rebased against android12-5.10
  • Moved from task_work_add() to smp_call_function() for task PARTID synchronization
  • Removed task_struct.partid field for pure cpuset:PARTID mapping
  • Implemented cpuset discovery & PARTID initalization at module load.
  • Added cleanup at module unload.

Symbol exports

  • Removed task_work_add(), css_task_iter_*() exports

task_curr() could be exported to be reused by this module, but the runqueues symbol is already exported. Thus, the module is placed in the scheduler directory to leverage that symbol and reimplement task_curr() locally, without requiring any further export.

Testing

Tested against cgroupv1 and cgroupv2 with a single root on a Juno r0.

Expected behaviour verified via ftrace.

Run with DEBUG_ATOMIC_SLEEP, PROVE_LOCKING, DEBUG_PER_CPU_MAPS.

Edited Jun 21, 2021 by Ghost User
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: product/mpam/vendor_hooks_v2