public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: appro@fy.chalmers.se
Cc: linux-kernel@vger.kernel.org
Subject: Re: modularized SYSENTER support
Date: Fri, 04 May 2001 20:14:37 +0200	[thread overview]
Message-ID: <3AF2F18D.15A52CD9@colorfullife.com> (raw)

> 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

             reply	other threads:[~2001-05-04 18:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 18:14 Manfred Spraul [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-04 15:21 modularized SYSENTER support Andy Polyakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AF2F18D.15A52CD9@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=appro@fy.chalmers.se \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox