Re: [patch] block: fix blktrace timestamps

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Friday, January 11, 2008 - 6:21 am

* Jens Axboe <jens.axboe@oracle.com> wrote:


argh, Jens. Really. I believe you stopped using your brain because 
CONFIG_BKL_IO_TRACE=y is affected by this bug and apparently you've got 
a weak spot for it ;)

Think about it another way then, in the context of another, real kernel 
feature we introduced in v2.6.24, namely CONFIG_CPU_IDLE=y:

- Fact: feature CONFIG_CPU_IDLE=y did not exist in 64-bit x86 in v2.6.23.
  It has known bugs but they are not flagged 'regressions' (because the 
  feature did not exist before and the option is default-disabled) hence 
  the feature can stay. Some fixes to it are too dangerous or too 
  unproven and are delayed to v2.6.25.

and now apply the same rule to CONFIG_NO_HZ:

- Fact: feature CONFIG_NO_HZ=y did not exist in 64-bit x86 in v2.6.23.
  It has known bugs but they are not flagged 'regressions' (because the 
  feature did not exist before and the option is default-disabled) hence 
  the feature can stay. Some fixes to it are too dangerous or too 
  unproven and are delayed to v2.6.25.

ok?

Yes, it's bad that this happened, and perhaps it _is_ a regression, but 
not for the reason you claim. [ It might be a regression if 32-bit 
blktrace has the same problem under NO_HZ for example _AND_ bkltrace 
worked perfectly on the same box on v2.6.23. ]

Kernel regressions have a _strict_ definition: they mean "anything that 
worked before will work in the future too". Not: "anything that worked 
before will work in the future too if you enable random new non-default 
kernel features".

[ If the latter was the criterium we'd probably never see new features
  integrated! New stuff has bugs, because it's not nearly as well-tested 
  as older stuff. What matters is to 1) not turn it on by default if it 
  has known bugs 2) to always make positive progress on it, i.e.: to not
  regress new features in future kernel releases. This way, in the ideal 
  case, we'll have a monotonic series towards a perfect, bug-free kernel 
  ;) ]


fantastic! :)


compared to the costs of IO transfers it should be OK. It can be really 
fast but in the worst-case it can be as slow as 3-6 usecs (when we use 
the acpi_pm clocksource). If there's complaints then probably the 
networking folks will yell first :)

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
CONFIG_NO_HZ breaks blktrace timestamps, David Dillow, (Wed Jan 9, 3:48 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, David Dillow, (Thu Jan 10, 1:25 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Guillaume Chazarain, (Thu Jan 10, 3:44 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, David Dillow, (Thu Jan 10, 8:04 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Jens Axboe, (Fri Jan 11, 2:07 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 2:23 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Jens Axboe, (Fri Jan 11, 2:25 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, nigel, (Fri Jan 11, 2:28 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 2:32 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Jens Axboe, (Fri Jan 11, 2:34 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 2:34 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 2:44 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 2:51 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Jens Axboe, (Fri Jan 11, 2:56 am)
[patch] block: fix blktrace timestamps, Ingo Molnar, (Fri Jan 11, 3:29 am)
Re: [patch] block: fix blktrace timestamps, Guillaume Chazarain, (Fri Jan 11, 3:47 am)
Re: [patch] block: fix blktrace timestamps, Ingo Molnar, (Fri Jan 11, 3:50 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Ingo Molnar, (Fri Jan 11, 3:55 am)
Re: [patch] block: fix blktrace timestamps, Jens Axboe, (Fri Jan 11, 5:28 am)
Re: [patch] block: fix blktrace timestamps, Jens Axboe, (Fri Jan 11, 5:42 am)
Re: [patch] block: fix blktrace timestamps, Ingo Molnar, (Fri Jan 11, 6:21 am)
Re: [patch] block: fix blktrace timestamps, David Dillow, (Fri Jan 11, 8:36 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, David Dillow, (Fri Jan 11, 8:43 am)
Re: [patch] block: fix blktrace timestamps, Ingo Molnar, (Fri Jan 11, 9:44 am)
Re: [patch] block: fix blktrace timestamps, Jens Axboe, (Fri Jan 11, 10:18 am)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Guillaume Chazarain, (Fri Jan 11, 3:30 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, Guillaume Chazarain, (Fri Jan 11, 5:03 pm)
Re: CONFIG_NO_HZ breaks blktrace timestamps, nigel, (Sun Jan 13, 3:54 pm)
Re: [patch] block: fix blktrace timestamps, Ingo Molnar, (Mon Jan 14, 12:59 am)
Re: [patch] block: fix blktrace timestamps, Jens Axboe, (Mon Jan 14, 1:10 am)
Re: [patch] block: fix blktrace timestamps, Christoph Hellwig, (Mon Jan 14, 1:39 am)
Re: [patch] block: fix blktrace timestamps, Jens Axboe, (Mon Jan 14, 1:42 am)