lkml.org 
[lkml]   [2002]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectDoes IRQ code touch FS code? (2.4.x)
From
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.054 / U:1.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site