Does IRQ code touch FS code? (2.4.x)

Fruhwirth Clemens (clemens@endorphin.org)
Fri, 23 Aug 2002 19:58:38 +0200


--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.=20
My hack (for cryptoloop of cryptoapi) depends on the fact that=20
blksize[MAJOR_LOOP][SOME_MINOR] does not change within the loop thread.=20

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:=20

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.

--DocE+STaALJfprDB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9ZnfOHkYGUbdPrgQRAh3+AJwLxGwX/znhnRImbFyJnyxBpX/17ACdFO8j
ItuGLeEZYCWiv3KbybLKLVI=
=UaZu
-----END PGP SIGNATURE-----

--DocE+STaALJfprDB--
-
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/