Skip to content

core_type: refactor intel core type detection to account for another output format - #2106

Merged
flightlessmango merged 1 commit into
flightlessmango:masterfrom
17314642:fix-intel-core-type
Aug 7, 2026
Merged

core_type: refactor intel core type detection to account for another output format#2106
flightlessmango merged 1 commit into
flightlessmango:masterfrom
17314642:fix-intel-core-type

Conversation

@17314642

@17314642 17314642 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Previous implementation expects that files cpu_atom and cpu_core will have range output like this: 0-9
Turns out there is another format:

❯ cat /sys/devices/cpu_core/cpus
0-1,3,6,8,10
user@nv54 ~ 
❯ cat /sys/devices/cpu_atom/cpus 
12-21
user@nv54 ~ 
❯ 

It's both ranges and separate cores

@flightlessmango
flightlessmango merged commit a5e7dc7 into flightlessmango:master Aug 7, 2026
2 checks passed
@17314642
17314642 deleted the fix-intel-core-type branch August 7, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants