mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Robert Love <rml@tech9.net>
To: "David S. Miller" <davem@redhat.com>
Cc: error27@email.com, linux-kernel@vger.kernel.org,
	rusty@rustcorp.com.au, torvalds@transmeta.com
Subject: Re: calling schedule() from interupt context
Date: 22 Nov 2002 04:16:04 -0500	[thread overview]
Message-ID: <1037956564.1504.3896.camel@phantasy> (raw)
In-Reply-To: <20021122.010934.126934922.davem@redhat.com>

On Fri, 2002-11-22 at 04:09, David S. Miller wrote:
>    From: "dan carpenter" <error27@email.com>
>    Date: Fri, 22 Nov 2002 03:54:41 -0500
> 
>    module_put ==> put_cpu ==> preempt_schedule ==> schedule
> 
> Oh we can't kill module references from interrupts?

No, I think you can.  Or at least the put_cpu() will not hurt you.

Inside the interrupt handlers, the preemption count is bumped so
preempt_schedule() will never call schedule().

	Robert Love


  reply	other threads:[~2002-11-22  9:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-22  8:54 dan carpenter
2002-11-22  9:09 ` David S. Miller
2002-11-22  9:16   ` Robert Love [this message]
2002-11-24 21:42   ` Rusty Russell
2002-11-24 22:41     ` Robert Love
2002-11-22  9:14 ` Robert Love
2002-11-22 16:04 dan carpenter
2002-11-22 16:11 ` Robert Love

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=1037956564.1504.3896.camel@phantasy \
    --to=rml@tech9.net \
    --cc=davem@redhat.com \
    --cc=error27@email.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rusty@rustcorp.com.au \
    --cc=torvalds@transmeta.com \
    /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

all inboxes | Powered by JetHome®