lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 12 Jun 2015 10:59:59 -0400
From:	Dave Jones <davej@...emonkey.org.uk>
To:	Prarit Bhargava <prarit@...hat.com>
Cc:	John Stultz <john.stultz@...aro.org>, linux-kernel@...r.kernel.org,
	Daniel Bristot de Oliveira <bristot@...hat.com>,
	Richard Cochran <richardcochran@...il.com>,
	Jan Kara <jack@...e.cz>, Jiri Bohac <jbohac@...e.cz>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	Shuah Khan <shuahkh@....samsung.com>
Subject: Re: [PATCH 0/5 v2] Fixes for leapsecond expiring early ABS_TIME
 CLOCK_REALTIME timers

On Fri, Jun 12, 2015 at 10:55:57AM -0400, Prarit Bhargava wrote:
 
 > >  > This series has only had limited testing, so I wanted to send
 > >  > it out for initial review and comment. Folks can grab this tree
 > >  > via git for testing here:
 > >  > https://git.linaro.org/people/john.stultz/linux.git dev/early-leap-timer
 > > 
 > > Any idea how far back this reaches ? Ie, which longterm stable releases
 > > might be affected by this ?
 > 
 > Likely occurs in any kernel after NOHZ was introduced.

At least on 3.14, it seems to happen even if NOHZ is disabled.

# ./leap -i 5 -s
Setting time to speed up testing
Running for 5 iterations. Press ctrl-c to stop

Setting time to Sat Jun 13 23:59:50 2015
Scheduling leap second for Sun Jun 14 00:00:00 2015
Setting timer for Sun Jun 14 00:00:00 2015
Sat Jun 13 23:59:57 2015 +     55 us (1)	TIME_INS
Sat Jun 13 23:59:57 2015 + 500127 us (1)	TIME_INS
Sat Jun 13 23:59:58 2015 +    189 us (1)	TIME_INS
Sat Jun 13 23:59:58 2015 + 500250 us (1)	TIME_INS
Sat Jun 13 23:59:59 2015 +    312 us (1)	TIME_INS
Sat Jun 13 23:59:59 2015 + 500372 us (1)	TIME_INS
Sun Jun 14 00:00:00 2015 +      3 us (1)	TIME_INS - TIMER FIRED
Error: Incorrect NTP state?
Sun Jun 14 00:00:00 2015 +     12 us (1)	TIME_INS
Sat Jun 13 23:59:59 2015 + 500068 us (2)	TIME_OOP
Sun Jun 14 00:00:00 2015 +    130 us (2)	TIME_OOP
Sun Jun 14 00:00:00 2015 + 500190 us (2)	TIME_WAIT
Sun Jun 14 00:00:01 2015 +    256 us (2)	TIME_WAIT
Sun Jun 14 00:00:01 2015 + 500315 us (2)	TIME_WAIT
Sun Jun 14 00:00:02 2015 +    376 us (2)	TIME_WAIT
Leap complete
Errors observed



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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ