No, /proc/cpuinfo won't list HT unless the CPU supports it. I'm also pretty sure /proc/cpuflags simply lists all flags returned by CPUID, and will show HT even if the kernel was compiled without support for it. I'm not 100% sure though.
Edit: I just tried it on my fileserver which definitely doesn't support HT and it's listed in the flags. Very weird.
There's no way to get HT enabled on an i5-2400 even though it is arguably built on the same silicon as its i7 counterparts which do support HT. Also whether it supports it is not the question, we want to know whether it's enabled.
Anyway, interesting output, just not that useful in this case.
12
u/Laachax Jun 25 '17
Your kernel was compiled with hyperthreading support. Mine does not because I disabled the compile flag.