mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Fruhwirth Clemens" <clemens@endorphin.org>
To: linux-kernel@vger.kernel.org
Subject: Does IRQ code touch FS code? (2.4.x)
Date: Fri, 23 Aug 2002 19:58:38 +0200	[thread overview]
Message-ID: <20020823175838.GA1374@ghanima.endorphin.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Hi!

As Marcello isn't sure if he should change the IV metric in 2.4.x/loop.c, I
decided to circumvent the problem with an ugly hack. 
My hack (for cryptoloop of cryptoapi) depends on the fact that 
blksize[MAJOR_LOOP][SOME_MINOR] does not change within the loop thread. 

The loop thread, however, runs with IRQs enabled. So IRQ handler code might
break my assumption that blksize[..] does not change. As far as I can see
there is just fs code which touches blksize. So my question is: 

Is IRQ code allowed to touch FS code?

I hope some kernel wizard can clarify that issue for me. My guess is, that
IRQ code is not allowed to touch FS code, since FS code makes liberal use
of schedule(), which is forbidden for IRQ code.

Thanks, Clemens

Please CC.

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

                 reply	other threads:[~2002-08-23 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020823175838.GA1374@ghanima.endorphin.org \
    --to=clemens@endorphin.org \
    --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

all inboxes | Powered by JetHome®