realtime processes and CD-ROM

Frank Cornelis (fcorneli@elis.rug.ac.be)
Mon, 25 Mar 2002 17:25:50 +0100 (CET)


Hey,

The MP3 player XMMS has the option of making it a realtime process.
But even after doing so, the music sometimes blocks. This is when my CDROM
is being accessed when it is not spinning anymore (spin-up time).
Would it be very hard to reprogram the linux kernel in such a way that
certain devices can't be turned off when realtime processes access these
devices? These devices would include CDROM players, harddisks.
Please note that I'm not looking for a way to (globally) disable the
spinning off of my CDROM player when it's in use. Only when realtime
processes access these devices the spinning of should be disabled.
If anyone is programming on something like described above please let me
know.

Frank.

PS: CC me, 'cause I'm not on the mailing list.

-
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/