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
a83cb2c31a
commit
90fb98b292
@ -364,7 +364,7 @@ linprocfs_docpuinfo(PFS_FILL_ARGS)
|
||||
#else
|
||||
"",
|
||||
#endif
|
||||
fqmhz, fqkhz,
|
||||
fqmhz * 2, fqkhz,
|
||||
cpu_clflush_line_size, cpu_clflush_line_size,
|
||||
cpu_maxphyaddr,
|
||||
(cpu_maxphyaddr > 32) ? 48 : 0);
|
||||
|
Loading…
Reference in New Issue
Block a user