[lkml]   [2002]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] kprobes for 2.5.30

On Tue, 6 Aug 2002, Rusty Russell wrote:
> > You mean _exception_ handlers. It's definitely not unnecessary. Exceptions
> > can very much be preempted.
> The patch changes traps 1 and 3 (debug & int3) to interrupt gates
> though.

Yes, but then it enables interrupts at one point.

And I'm not saying that is wrong - I'm saying that the warning is really
because you didn't tell the kernel that it was _not_ wrong. The warning is
a "I got called with interrupts disabled, not nobody actually told me that
I shouldn't reschedule. I will refuse to reschedule (exactly because
interrupts weren't enabled), but I don't like the fact that somebody
apparently did things behind my back".

Think of the kernel as a grumpy girlfriend that you just stood up, and
bring flowers next time.


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: 2005-03-22 13:27    [W:0.091 / U:0.156 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site