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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A37DA2C.8020106@gmail.com>
Date:	Tue, 16 Jun 2009 10:45:16 -0700
From:	Richard Henderson <rth7680@...il.com>
To:	john stultz <johnstul@...ibm.com>
CC:	ink@...assic.park.msu.ru, lkml <linux-kernel@...r.kernel.org>,
	linux-alpha@...r.kernel.org
Subject: Re: [PATCH] Convert alpha to use arch_gettimeoffset()

john stultz wrote:
> On Fri, 2009-06-12 at 00:03 -0700, Richard Henderson wrote:
>   
>> john stultz wrote:
>>     
>>> I suspect the alpha arch could even be further improved to provide and
>>> rpcc() based clocksource, but not having the hardware, I don't feel
>>> comfortable attempting the more complicated conversion (but I'd be glad
>>> to help if anyone else is interested).
>>>       
>> Unfortunately this isn't possible.  The rpcc value is only 32-bits wide,
>> and so rolls over in approx 3 to 4 seconds.  Thus all the contortions to
>> try and use the truncated value for sub 1 second adjustments.
>>     
>
> That's actually ok. The ACPI PM clocksource on x86 is only 24 bits wide
> and wraps every 5 seconds. The generic timekeeping code handles the
> wrapping and accumulation for you.
>   
Interesting.
> Might you create a patch that does this conversion and apply it on top
> of mine? 
Unfortunately I don't have working hardware anymore.  Perhaps Ivan will 
be able to help here.


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