Re: PATCH: cdrecord: avoiding scsi device numbering for ide devices

From: Lee Revell
Date: Tue Aug 10 2004 - 09:34:02 EST


On Tue, 2004-08-10 at 04:16, Måns Rullgård wrote:
> Albert Cahalan <albert@xxxxxxxxxxxx> writes:
>
> >> Last time I gave
> >> superuser privilege to cdrecord it locked my machine - clearly it wasn't
> >> rt_task safe.
> >
> > So, you've been working on the scheduler anyway...
> > An option to reserve some portion of CPU time for
> > emergency use (say, 5% after 1 second has passed)
> > would let somebody get out of this situation.
>
> Another option would be an Alt-Sysrq-something that lowered all RT
> processes to normal levels.

I hate to derail a good flame-fest, but this would be extremely useful,
for more than burning CDs. Anytime you are dealing with a SCHED_FIFO
process a bug can lock the machine, this would be useful for hacking
jackd for example.

If someone wants to code this up I and the other people on jackit-devel
would gladly test it.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/