Fix bogomips calculation. Previously it was off by half. This was
verified under VMWare Fusion, comparing to what's reported under CentOS, and by comparing numbers reported by linuxulator on T420 with a googled up Linux cpuinfo (https://lkml.org/lkml/2011/11/29/116). MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20693
This commit is contained in:
parent
8ba7dddd6f
commit
7ce051e799
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363302
@ -364,7 +364,7 @@ linprocfs_docpuinfo(PFS_FILL_ARGS)
|
|||||||
#else
|
#else
|
||||||
"",
|
"",
|
||||||
#endif
|
#endif
|
||||||
fqmhz, fqkhz,
|
fqmhz * 2, fqkhz,
|
||||||
cpu_clflush_line_size, cpu_clflush_line_size,
|
cpu_clflush_line_size, cpu_clflush_line_size,
|
||||||
cpu_maxphyaddr,
|
cpu_maxphyaddr,
|
||||||
(cpu_maxphyaddr > 32) ? 48 : 0);
|
(cpu_maxphyaddr > 32) ? 48 : 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user