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
| ||
|
Message-ID: <1406045831.25343.69.camel@hornet> Date: Tue, 22 Jul 2014 17:17:11 +0100 From: Pawel Moll <pawel.moll@....com> To: John Stultz <john.stultz@...aro.org> Cc: Steven Rostedt <rostedt@...dmis.org>, Ingo Molnar <mingo@...hat.com>, Peter Zijlstra <peterz@...radead.org>, Oleg Nesterov <oleg@...hat.com>, Andrew Morton <akpm@...ux-foundation.org>, Mel Gorman <mgorman@...e.de>, Andy Lutomirski <luto@...capital.net>, Stephen Boyd <sboyd@...eaurora.org>, Baruch Siach <baruch@...s.co.il>, Thomas Gleixner <tglx@...utronix.de>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org> Subject: Re: [RFC] sched_clock: Track monotonic raw clock On Fri, 2014-07-18 at 18:51 +0100, John Stultz wrote: > Very cool work! Glad that it doesn't sound too ridiculous :-) > I've not been able to review it carefully, but one good > stress test would be to pick a system where the hardware used for > sched_clock is different from the hardware used for timekeeping. Actually I've got exactly this situation on my board. I've got two sources, and actually the worse (narrower and more expensive) one is getting eventually used (because it's registered later - separate patch to follow). > Although, looking again, this looks like it only works on the "generic" > sched_clock (so ARM/ARM64?)... ... and microblaze and xtensa right now, yes. This was just the simplest thing for me to start with, but I appreciate it doesn't cover all possible cases. Thus the debugfs attribute to tell userspace what can it expect from the sched_clock. A hack it is, yes. Pawel -- 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