public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: a.p.zijlstra@chello.nl, vatsa@linux.vnet.ibm.com, efault@gmx.de,
	mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: Fwd: Commit 76a2a6ee8a0660a29127f05989ac59ae1ce865fa breaks PXA270 (at least)?
Date: Tue, 29 Jul 2008 15:46:05 -0700	[thread overview]
Message-ID: <20080729154605.d540cf6d.akpm@linux-foundation.org> (raw)
In-Reply-To: <20080729223105.GK10982@flint.arm.linux.org.uk>

On Tue, 29 Jul 2008 23:31:05 +0100
Russell King - ARM Linux <linux@arm.linux.org.uk> wrote:

> But then some bright spark thought it would be a good idea to get
> rid of printk_clock().

<does git-log, searches for printk_clock>

  commit 86faf39d0fc04272b05fab1db6d683f3ac7199d1
  Author: Ingo Molnar <mingo@elte.hu>
  Date:   Fri Jan 25 21:07:59 2008 +0100
  
      sched: remove printk_clock references from ia64
      
      remove remaining printk_clock references from ia64.
      
      Signed-off-by: Ingo Molnar <mingo@elte.hu>
  
  commit b842271fbb9c8b5fd0e1c3e1895a3b67ba5bcc54
  Author: Ingo Molnar <mingo@elte.hu>
  Date:   Fri Jan 25 21:07:59 2008 +0100
  
      sched: remove printk_clock()
      
      printk_clock() is obsolete - it has been replaced with cpu_clock().
      
      Signed-off-by: Ingo Molnar <mingo@elte.hu>
  

That's it?  It rates a 0.5/10 for changelogging :(

Looking further on...

  commit e97126cd9056b3b42cdc862ace2ed66f8026f55b
  Author: Russell King <rmk@dyn-67.arm.linux.org.uk>
  Date:   Mon Jan 8 19:49:12 2007 +0000
  
      [ARM] Provide basic printk_clock() implementation
      
      Current sched_clock() implementations on ARM cause unbootable kernels
      with PRINTK_TIME support enabled.  To avoid this, provide a basic
      printk_clock() implementation which avoids sched_clock() being called
      before the page tables have been set up.
  

which I assume is why arm is crashing again?


Really, I think arch-overrideable printk_clock() was a good idea. 
printk is just _special_.  It's called wildly early and it is called in
all conceivable contexts and it just must work no matter what.  It's
totally understandable that an architecture would need to override
printk's timestamp generator.



  reply	other threads:[~2008-07-29 22:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-29 22:31 Fwd: Commit 76a2a6ee8a0660a29127f05989ac59ae1ce865fa breaks PXA270 (at least)? Russell King - ARM Linux
2008-07-29 22:46 ` Andrew Morton [this message]
2008-07-29 22:56   ` Russell King - ARM Linux
2008-07-30  7:10     ` Peter Zijlstra
2008-07-30  7:55       ` Peter Zijlstra
2008-07-30  8:00         ` Russell King - ARM Linux
2008-07-30 12:26           ` Bill Gatliff
2008-07-30 12:54           ` Bill Gatliff
2008-07-31 21:37   ` Ingo Molnar
2008-07-31 21:47     ` Peter Zijlstra
2008-07-31 21:57       ` Russell King - ARM Linux
2008-08-01  3:44         ` Bill Gatliff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080729154605.d540cf6d.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=efault@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=mingo@elte.hu \
    --cc=vatsa@linux.vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox