lkml.org 
[lkml]   [2001]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: modularized SYSENTER support
> Q. How come the handler doesn't manage so called "bottom halves" or 
> "soft IRQs"?
> A. There is no need for this. Soft IRQs can only appear at exit from
> hardware interrupt handlers. Indeed, we can't count on user app.
> being around and performing a system call when it comes to
> interrupt handling, right?

That's probably a bug.
syscall
* spin_lock_bh()
* hardware interrupt arrives
* BH's are blocked, delayed
* spin_unlock_bh()
* return from syscall.

You must check for softirq's before returning.

--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.062 / U:2.432 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site