Bug 85655 - [i386] [patch] expose cpu info for i386 systems
Summary: [i386] [patch] expose cpu info for i386 systems
Status: Closed Not Accepted
Alias: None
Product: Base System
Classification: Unclassified
Component: i386 (show other bugs)
Version: 5.4-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Baldwin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 19:00 UTC by Ben Thomas
Modified: 2019-01-24 07:18 UTC (History)
1 user (show)

See Also:


Attachments
mp_machdep.c-DIFF (1.05 KB, patch)
2005-09-02 19:00 UTC, Ben Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Thomas 2005-09-02 19:00:36 UTC
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
Comment 1 Remko Lodder freebsd_committer freebsd_triage 2011-03-23 07:21:07 UTC
State Changed
From-To: open->feedback

Hello, 

Is this still applicable?
Comment 2 Remko Lodder freebsd_committer freebsd_triage 2011-03-30 07:08:54 UTC
Responsible Changed
From-To: freebsd-i386->jhb

Hi John, is this something you might want to have a look at?
Comment 3 John Baldwin freebsd_committer freebsd_triage 2011-07-07 20:04:29 UTC
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
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2018-05-28 19:42:19 UTC
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.
Comment 5 Oleksandr Tymoshenko freebsd_committer freebsd_triage 2019-01-24 07:18:25 UTC
Based on John's reply and PRs idle time closing as "Rejected". Feel free to reopen if there is interest in suggested functionality.