From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sipsolutions.net (xc.sipsolutions.net [83.246.72.84]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7EF85DDF01 for ; Thu, 24 Apr 2008 19:22:12 +1000 (EST) Subject: Re: cpu_clock confusion (was: printk time confusion?) From: Johannes Berg To: Ingo Molnar In-Reply-To: <20080404144641.GA15844@elte.hu> References: <1207146186.3957.11.camel@johannes.berg> <1207219724.10388.319.camel@pasglop> <1207240450.3797.22.camel@johannes.berg> <20080404144641.GA15844@elte.hu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Qqig41e2ATLZLDa/j1zw" Date: Thu, 24 Apr 2008 11:21:52 +0200 Message-Id: <1209028912.3357.52.camel@johannes.berg> Mime-Version: 1.0 Cc: linuxppc-dev list , Thomas Gleixner , Arnd Bergmann , Linux Kernel list , Benjamin Herrenschmidt List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-Qqig41e2ATLZLDa/j1zw Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > > [ 2.764009 (3/3)] > > [ 4.272241 (2/2)] > > [ 4.272322 (2/2)] > > [ 4.272375 (2/2)] > > [ 2.948002 (3/3)] > >=20 > > As you can see, I added printk_cpu and smp_processor_id() to the=20 > > printk timestamp output and thus it is obvious that the different=20 > > times come from different CPUs. >=20 > the fixes are queued for v2.6.26. You can pick them up from=20 > sched-devel/latest as well: >=20 > http://people.redhat.com/mingo/sched-devel.git/README Hmm. Why is that whole cpu_clock stuff in place anyway? powerpc has perfectly synchronised time across processors with dirt cheap access to it as well, so why build all this code that only messes it up on top of it? johannes --=-Qqig41e2ATLZLDa/j1zw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Comment: Johannes Berg (powerbook) iQIVAwUASBBRL6Vg1VMiehFYAQKOCA/9GV98wfgFp/4xMkbPay4pYo5WWKWwg2Oo p10Z4iCXYH/MEWsvP5lLxYt3rTW8qeoYidxH0utGoZfG2NV490KP8NAuKkc64mUa IeT+ctRebaUHGI6o8UJRf/4Z/4dCrGFeyueTF1RGLnffTaXHooE24DkaGgDQ6GqV RRAdb2OpUhUniAT/MJwGSR/lvGAoGMr8wrBTrZzpA0YrsFX3Pd0r//9A1OmCqTiH qjNrsMNQiSaG5VPXIe2tb2QxufCxfQJa6332ay5qr/NGfSO3ilk/MzXPFGZPiv8K ue26TXmIFtJgFZQxl93O/KQMgi2YEbGfVVZJXhnI/vVGvHFn5o6aOVEX1ed9Zvsh qSgPgqSfbXBpWff5sXG3cOL0gL5Jb+QxDEBB9liczi2lnXNqQmjbXkSMfx9j5bRG QzGY/rAa+jBJQnXiscTR9a4jXTLDeOKx5xdvn9ajeohEfOCZz6YFhfDG/C4lWSf7 E1pvxbQ0TeZoWIRCTLXhimxhUFbiK/ouDu063o40bQis6ICz4ofgoMqWtdBnjcAI N9mb3Rdit/UomdlqsTbJQo4EalNN5CF0IwDoYeE1BN4o3kYcFRB5+hbIzEcm7zp4 a1IT16eLsMO2WmZRFv2qq0A38SX6S+ERGD54/eKK1T/2+GCI1HUeMCCvwiwgClSr F2uJBDvaIAA= =wywX -----END PGP SIGNATURE----- --=-Qqig41e2ATLZLDa/j1zw--