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_flatcg: Make good use of __sync_fetch_and_sub() #412

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 4, 2024

  1. scx_flatcg: Make good use of __sync_fetch_and_sub()

    Fetch the value of "delta" directly from the returned value from
    __sync_fetch_and_sub, as it returns the origin value of
    cgc->cvtime_delta.
    
    Additional fetching instruction of cgc->cvtime_delta would be redundant
    here.
    
    Signed-off-by: I Hsin Cheng <[email protected]>
    vax-r committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    aae826b View commit details
    Browse the repository at this point in the history