Thread (7 messages) 7 messages, 5 authors, 2020-03-25

RE: [PATCH] x86/Hyper-V: Fix hv sched clock function return wrong time unit

From: Yubo Xie <hidden>
Date: 2020-03-25 18:57:20
Also in: lkml, stable

I use "time" to run some performance tests in our project under WSL2, but the result looks weird:  the value of "real" is far from the sum of "user" + "sys".

-----Original Message-----
From: Dexuan Cui <decui@microsoft.com> 
Sent: Wednesday, March 25, 2020 11:46 AM
To: Yubo Xie <redacted>; KY Srinivasan <kys@microsoft.com>; Haiyang Zhang <haiyangz@microsoft.com>; Stephen Hemminger <redacted>; Wei Liu <redacted>; daniel.lezcano@linaro.org; tglx@linutronix.de; Michael Kelley <redacted>
Cc: Yubo Xie <redacted>; linux-hyperv@vger.kernel.org; linux-kernel@vger.kernel.org; vkuznets <vkuznets@redhat.com>; stable@vger.kernel.org; Tianyu Lan <redacted>
Subject: RE: [PATCH] x86/Hyper-V: Fix hv sched clock function return wrong time unit
From: linux-hyperv-owner@vger.kernel.org
[off-list ref] On Behalf Of Yubo Xie
Sent: Tuesday, March 24, 2020 8:20 AM
...
sched clock callback should return time with nano second as unit but 
current hv callback returns time with 100ns. Fix it.
Hi Yubo,
I'm curious how you found the bug? :-) Did you notice some kind of symtom?

Thanks,
-- Dexuan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help