[lkml]   [2006]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] FRV: do_gettimeofday() should no longer use tickadj
Ingo Molnar <> wrote:

> btw., would be nice to convert it to genirq (and irqchips) too =B-) That
> would solve the kind of disable_irq_lockdep() breakage that was reported
> recently.

I can think of reasons for not using that stuff also.

(1) Passing "struct pt_regs *regs" around is a complete waste of resources on
FRV. It's in GR28 at all times and can thus be accessed directly.

(2) All the little operations functions cause unnecessary jumping, jumps that
icache lookahead can't predict because they're register-indirect.

(3) ACK'ing and controlling interrupts has to be done by groups.

(4) No account is taken of interrupt priority.

(5) The FRV CPU doesn't tell me which IRQ source fired. Much of the code
I've got is stuff to try and work it out. I could just blindly poll all
the sources attached to a particular interrupt level, but that seems
somehow less efficient.


BTW, have you looked at my patch to fix lockdep yet?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-09-06 14:37    [W:0.126 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site