git: f56ea6b7d0e1 - stable/13 - linprocfs: Decode constant_tsc CPU feature
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Jul 2022 11:50:40 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=f56ea6b7d0e1729be715b57fcef6aaff8d50e90e commit f56ea6b7d0e1729be715b57fcef6aaff8d50e90e Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-06-29 07:34:04 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-07-13 11:48:14 +0000 linprocfs: Decode constant_tsc CPU feature Differential revision: https://reviews.freebsd.org/D35554 MFC after: 2 weeks (cherry picked from commit 8da00a514e699e4fa788109cf36f3b02168b39d7) --- 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 714c4ee4a84c..a0985d339e43 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"