This change makes some slight modifications: - add "packed" attribute to the cpu_info structure to make it a bit smaller - add the hyperthread index to the structure - expose the entire structure via a machdep sysctl (I probably should have also added an .h file for the user/kernel to agree on the structure format) This patch is against the 5_4_0_RELEASE code
State Changed From-To: open->feedback Hello, Is this still applicable?
Responsible Changed From-To: freebsd-i386->jhb Hi John, is this something you might want to have a look at?
I don't think we want to export cpu_info as raw data in this fashion. I believe we should be using an MI interface to export information about available CPUs with info about cores/HTT/NUMA domains, etc. Brooks is aware of an existing API for this sort of thing and Attilio has shown interest in this area in the past. -- John Baldwin
batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed.
Based on John's reply and PRs idle time closing as "Rejected". Feel free to reopen if there is interest in suggested functionality.