Re: [PATCH RESEND] Calling check_system_tsc_reliable() before unsynchronized_tsc()

2017-06-23 Thread Zhenzhong Duan
在 2017/6/22 21:56, Thomas Gleixner 写道: Zhenzhong, On Wed, 21 Jun 2017, Zhenzhong Duan wrote: So the patch format is now correct, but the subject line is missing a proper subsystem prefix. Please use 'git log 'path/to/patched/file' next time to see what the usually used prefix for a file is. In

Re: [PATCH RESEND] Calling check_system_tsc_reliable() before unsynchronized_tsc()

2017-06-22 Thread Thomas Gleixner
Zhenzhong, On Wed, 21 Jun 2017, Zhenzhong Duan wrote: So the patch format is now correct, but the subject line is missing a proper subsystem prefix. Please use 'git log 'path/to/patched/file' next time to see what the usually used prefix for a file is. In this case it's: x86/tsc Also please d

[PATCH RESEND] Calling check_system_tsc_reliable() before unsynchronized_tsc()

2017-06-21 Thread Zhenzhong Duan
unsynchronized_tsc() checks value of tsc_clocksource_reliable which is set by check_system_tsc_reliable(). It's better to move check_system_tsc_reliable() at front. Though X86_FEATURE_CONSTANT_TSC is usually set for TSC reliable system, just in case. Signed-off-by: Zhenzhong Duan --- arch/x86/k