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: <1153854962.8932.49.camel@laptopd505.fenrus.org>
Date:	Tue, 25 Jul 2006 21:16:02 +0200
From:	Arjan van de Ven <arjan@...radead.org>
To:	"John W. Linville" <linville@...driver.com>
Cc:	Neil Horman <nhorman@...driver.com>, linux-kernel@...r.kernel.org,
	a.zummo@...ertech.it, jg@...edesktop.org
Subject: Re: [PATCH] RTC: Add mmap method to rtc character driver

On Tue, 2006-07-25 at 15:07 -0400, John W. Linville wrote:
> On Tue, Jul 25, 2006 at 08:53:16PM +0200, Arjan van de Ven wrote:
> > On Tue, 2006-07-25 at 14:43 -0400, Neil Horman wrote:
> 
> > > alternative, which, as I mentioned before I would be happy to take a crack at,
> > > if you would elaborate on your idea a little more.
> > 
> > well the idea that has been tossed about a few times is using a vsyscall
> > function that either calls into the kernel, or directly uses the hpet
> > page (which can be user mapped) to get time information that way... 
> > or even would use rdtsc in a way the kernel knows is safe (eg corrected
> > for the local cpu's speed and offset etc etc).
> 
> Aren't both of those examples x86(_64)-specific?  Wouldn't a generic
> solution be preferrable?

the implementation is; the interface.. not so. other platforms can
implement their optimal solution obviously...


-
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