git: 8da00a514e69 - main - linprocfs: Decode constant_tsc CPU feature
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jun 2022 07:39:04 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=8da00a514e699e4fa788109cf36f3b02168b39d7
commit 8da00a514e699e4fa788109cf36f3b02168b39d7
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-06-29 07:34:04 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-29 07:34:04 +0000
linprocfs: Decode constant_tsc CPU feature
Differential revision: https://reviews.freebsd.org/D35554
MFC after: 2 weeks
---
sys/compat/linprocfs/linprocfs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 93b5af04e670..e1796a359ce0 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -349,6 +349,8 @@ linprocfs_docpuinfo(PFS_FILL_ARGS)
cpu_stdext_feature_names[j][0] != '\0')
sbuf_printf(sb, " %s",
cpu_stdext_feature_names[j]);
+ if (tsc_is_invariant)
+ sbuf_cat(sb, " constant_tsc");
sbuf_cat(sb, "\n");
sbuf_printf(sb,
"bugs\t\t: %s\n"