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
| ||
|
Date: Wed, 27 Aug 2008 09:42:30 +0200 From: Ingo Molnar <mingo@...e.hu> To: Yinghai Lu <yhlu.kernel@...il.com> Cc: Thomas Gleixner <tglx@...utronix.de>, "H. Peter Anvin" <hpa@...or.com>, Andrew Morton <akpm@...ux-foundation.org>, linux-kernel@...r.kernel.org, Peter Zijlstra <a.p.zijlstra@...llo.nl> Subject: Re: [PATCH] x86: printk_time to use tsc before cpu_clock is ready * Yinghai Lu <yhlu.kernel@...il.com> wrote: > +static unsigned long long tsc_clock(int cpu) > +{ > + unsigned long long t; > + > + rdtscll(t); > + > + return t; > +} hm, i'm not sure i like the whole direction - this reintroduces printk_clock in essence. how about initializing cpu_clock() sooner, so that printk timestamps start ticking as soon as possible? Ingo -- 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