Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/amd64 this is kmsan



details:   https://anonhg.NetBSD.org/src/rev/31e312d50a26
branches:  trunk
changeset: 933172:31e312d50a26
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed May 20 18:52:48 2020 +0000

description:
this is kmsan

diffstat:

 sys/arch/amd64/amd64/cpufunc.S |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 03c06f636b76 -r 31e312d50a26 sys/arch/amd64/amd64/cpufunc.S
--- a/sys/arch/amd64/amd64/cpufunc.S    Wed May 20 18:39:25 2020 +0000
+++ b/sys/arch/amd64/amd64/cpufunc.S    Wed May 20 18:52:48 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpufunc.S,v 1.55 2020/05/20 18:39:25 ad Exp $  */
+/*     $NetBSD: cpufunc.S,v 1.56 2020/05/20 18:52:48 maxv Exp $        */
 
 /*
  * Copyright (c) 1998, 2007, 2008, 2020 The NetBSD Foundation, Inc.
@@ -206,7 +206,8 @@
 END(x86_hotpatch)
 #endif /* !XENPV */
 
-/* Could be exact same as cpu_counter but for KASAN fussiness. */
+/* Could be exact same as cpu_counter, but KMSAN needs to have the correct
+ * size of the return value. */
 ENTRY(cpu_counter32)
        movq    CPUVAR(CURLWP), %rcx
 1:



Home | Main Index | Thread Index | Old Index