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

Remove LXC special handling for the CPU count #1197

Merged
merged 1 commit into from
Feb 25, 2023

Commits on Feb 25, 2023

  1. Remove LXC special handling for the CPU count

    LXC shows the real host CPU ids but can be limited in configuration
    as to which cores are used. Still the sysfs files are visible and the
    CPUs (stay) marked online. We will need to parse
    /sys/devices/system/cpu/online to follow LXC's logic.
    Revert for now until we can come up with a better handling of the LXC hacks.
    
    Cf. issue htop-dev#1195
    Essentially reverting 33973f7 and 0d53245 (htop-dev#993, htop-dev#995)
    Daniel Lange authored and Daniel Lange committed Feb 25, 2023
    Configuration menu
    Copy the full SHA
    2721f8f View commit details
    Browse the repository at this point in the history