Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238757

Re: [PATCH v3] kselftest: timers: Add adjtick test to validate adjtimex() tick adjustments

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v3] kselftest: timers: Add adjtick test to validate adjtimex() tick adjustments
Date 2015-10-03 09:50 +0200
Message-ID <qfpJU-3Pm-19@gated-at.bofh.it> (permalink)
References <qfht1-oF-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* John Stultz <john.stultz@linaro.org> wrote:

> Recently an issue was reported that was difficult to detect except
> by tweaking the adjtimex tick value, and noticing how quickly the
> adjustment took to be made:
> 	https://lkml.org/lkml/2015/9/1/488
> 
> Thus this patch introduces a new test which manipulates the adjtimex
> tick value and validates the results are what we expect.

So I tried to run this:

triton:~/tip/tools/testing/selftests/timers> ./adjtick 
systick: 10000
Estimating tick (act: 9000 usec, -100000 ppm): 10000 usec, 1 ppmWARNING: Unexpected adjtimex return values, make sure ntpd is not running. triton:~/tip/tools/testing/selftests/timers> 

note the weird placement of the warning, and there's also no newline at the end.

It would also be nice to print out roughly how long the test will take - since it 
runs longer than 1-2 seconds.

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v3] kselftest: timers: Add adjtick test to validate adjtimex() tick adjustments John Stultz <john.stultz@linaro.org> - 2015-10-03 01:00 +0200
  Re: [PATCH v3] kselftest: timers: Add adjtick test to validate  adjtimex() tick adjustments Ingo Molnar <mingo@kernel.org> - 2015-10-03 09:50 +0200

csiph-web