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] [day] [month] [year] [list]
Date:	Fri, 11 Sep 2009 11:09:04 -0700
From:	john stultz <johnstul@...ibm.com>
To:	ye janboe <janboe.ye@...il.com>
Cc:	Yong Zhang <yong.zhang0@...il.com>, zippel@...ux-m68k.org,
	akpm@...ux-foundation.org, mingo@...e.hu,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] update clocksource raw_time in timekeeping_suspend

On Fri, 2009-09-11 at 11:35 +0800, ye janboe wrote:
> So CLOCK_MONOTONIC_RAW is not suitable for getting real hw time which
> includes sleep time.

Hmm.. This is sort of an odd request. 

The clocksource hardware counters stop in during suspend, so any "real
hw time that includes sleep" is likely to be combined from different
sources (with slightly different drifts), so I'm not sure why
CLOCK_MONOTONIC_RAW would be preferred over CLOCK_MONOTONIC?


> Is there other timer suitable for this?

Maybe the CMOS / RTC?  Would that suffice?

Could you maybe provide more details about why you need this? Maybe
better understanding your needs would help point to a solution.

thanks
-john


--
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