Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scx_layered: Refactor topology algorithms to a separate module #737

Merged
merged 3 commits into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. scx_layered: Move layer core growth logic to separate module

    Move layer core growth logic to separate module for further refactoring.
    
    Signed-off-by: Ming Yang <[email protected]>
    minosfuture committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    29308d4 View commit details
    Browse the repository at this point in the history
  2. scx_layered: Break up layer_core_order function

    `layer_core_order` provided multiple core growth implementation
    
    Break it up into smaller function. Also, attach the method to
    LayerGrowthAlgo. And `LayerCoreOrderGenerator` is added to make future
    growth algo extension easy.
    
    Signed-off-by: Ming Yang <[email protected]>
    minosfuture committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    35d5c08 View commit details
    Browse the repository at this point in the history
  3. scx_layered: Add Reverse layer growth algo

    Add `LayerGrowthAlgo::Reverse` to be the reverse order of Linear.
    
    Signed-off-by: Ming Yang <[email protected]>
    minosfuture committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d76036b View commit details
    Browse the repository at this point in the history