Re: 'global' rq->clock

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Saturday, May 3, 2008 - 3:10 am

* David Miller <davem@davemloft.net> wrote:


yeah, will try something like that too.

the thing is, core kernel folks have to resist such pressures 
_somewhat_.

Architecture maintainers will put pressure on us from two directions: if 
a particular generic feature only helps _another_ architecture, they 
find it a nuisance and want it to be gone as much as possible.

If a particular feature helps them, they want it supported and 
default-enabled as much as possible. In fact, complaints come if a 
generic-looking feature shows up in one architecture only. (recent 
example: inlining optimizations ;-)

And you are totally right about sched_clock() being dead on accurate an 
globally synchronous on sparc64 - and you are right to find _any_ issue 
about it a nuisance. I totally envy you that sparc64's sched_clock() is 
so simple - it should have been like that on x86 years ago, if hw 
designers werent so impotent about it.

( although please note that the growing generalization that goes on
  _did_ find a subtle nohz problem on sparc64 early in the merge window,
  so it's not like these changes are totally useless to you. )

but it all goes in the other direction as well: many folks find 
endianness problems a nuisance on x86, many folks find TLB and explicit 
cache coherence complications a nuisance on x86 as well. The bus-to-phys 
complication which is an identity on x86. Etc. etc.

But the core kernel is a conscious and intelligent union of all 
architecture's needs, and often we maintain complications even if they 
make no sense on the most popular platform. I think it makes strategic 
sense because it keep the kernel truly generic and truly clean. It also 
keeps architectures honest: even today the x86 architecture is still not 
as clean as sparc64 for example.

so please be patient, we are working on it :)

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

Messages in current thread:
Horrendous Audio Stutter - current git, Parag Warudkar, (Thu May 1, 5:14 pm)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 1:34 am)
Re: 'global' rq-&gt;clock, Arjan van de Ven, (Fri May 2, 3:09 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 3:32 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 3:35 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 4:08 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 4:10 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 4:37 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 4:39 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 4:45 am)
Re: Horrendous Audio Stutter - current git, Peter Zijlstra, (Fri May 2, 4:51 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 5:06 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 5:09 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 5:21 am)
Re: Horrendous Audio Stutter - current git, Parag Warudkar, (Fri May 2, 5:22 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 5:37 am)
Re: Horrendous Audio Stutter - current git, Dhaval Giani, (Fri May 2, 6:21 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 8:02 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 8:49 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Fri May 2, 11:53 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 12:27 pm)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Fri May 2, 12:38 pm)
Re: 'global' rq-&gt;clock, David Miller, (Fri May 2, 2:48 pm)
Re: 'global' rq-&gt;clock, David Miller, (Fri May 2, 3:00 pm)
Re: 'global' rq-&gt;clock, Peter Zijlstra, (Fri May 2, 3:07 pm)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Sat May 3, 12:13 am)
Re: Horrendous Audio Stutter - current git, Mike Galbraith, (Sat May 3, 12:39 am)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 1:28 am)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 2:05 am)
Re: 'global' rq->clock, Ingo Molnar, (Sat May 3, 3:10 am)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 12:27 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 12:28 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 12:37 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 12:39 pm)
Re: 'global' rq-&gt;clock, Benjamin Herrenschmidt, (Sat May 3, 3:30 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 3:38 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 4:04 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 4:36 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 4:38 pm)
Re: 'global' rq-&gt;clock, David Miller, (Sat May 3, 4:40 pm)
Re: 'global' rq-&gt;clock, Ingo Molnar, (Sat May 3, 4:47 pm)
Re: 'global' rq-&gt;clock, Benjamin Herrenschmidt, (Sat May 3, 7:22 pm)
Re: 'global' rq-&gt;clock, Peter Zijlstra, (Sun May 4, 5:12 am)
Re: Horrendous Audio Stutter - current git, Frans Pop, (Wed May 7, 1:26 am)
Re: Horrendous Audio Stutter - current git, Ingo Molnar, (Wed May 7, 1:32 am)