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

Total Processes in MiscStat Corrected #1612

Merged
merged 1 commit into from
Mar 23, 2024

Commits on Mar 21, 2024

  1. Total Processes in MiscStat Corrected

    The `ProcsTotal` in the `MiscStat` structure was very inaccurate. It was reading
    a value which is the total number of kernel scheduling entities. This includes
    both processes and threads significantly overcounting.
    
    This instead uses an existing method already in common to count the number of
    processes via the /proc filesystem where any directory is a number. This should
    still be a single syscall to read that directory entry.
    
    This fixes shirou#1606.
    eric1234 committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    cded180 View commit details
    Browse the repository at this point in the history