lkml.org 
[lkml]   [2017]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [ANNOUNCE] v4.11.12-rt13
From
Date
On Fri, 2017-10-06 at 19:38 +0200, Mike Galbraith wrote:
> On Fri, 2017-10-06 at 15:33 +0200, Mike Galbraith wrote:
> >
> > I'll run full ltp again, make sure there are no new failure deltas.
>
> Haven't done that yet, but I have checked all of the reported failures.
>
> time-hrtimer:-Use-softirq-based-wakeups-for-non-RT-threads.patch fixes
> clock_settime_8-1.run-test, hrtimer:-Update-offset-for-soft-bases.patch
> fixes the rest.
>
> However...

testcases/open_posix_testsuite/conformance/interfaces/clock_settime/8-1.c:
* Steps:
* - get time T0
* - in child: set clock_nanosleep() to sleep for SLEEPSEC seconds
* - in parent: sleep SMALLTIME (< SLEEPSEC)
* - in parent: set time back to T0
* - in child: ensure time when clock_nanosleep() expires is within
* ACCEPTABLEDELTA of T0+(SLEEPSEC-SMALLTIME)
...
#define SLEEPSEC 5
#define SMALLTIME 2
#define ACCEPTABLEDELTA 1

homer:..debug/tracing # time chrt -o 0 /usr/local/ltp/conformance/interfaces/clock_settime/clock_settime_8-1.run-test
Test PASSED

real 0m5.002s
user 0m0.000s
sys 0m0.001s
homer:..debug/tracing # time chrt -f 1 /usr/local/ltp/conformance/interfaces/clock_settime/clock_settime_8-1.run-test
Ended too late. 1507351636 >> 1507351634
Test FAILED

real 0m7.002s
user 0m0.000s
sys 0m0.002s



\
 
 \ /
  Last update: 2017-10-07 06:51    [W:0.069 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site