Re: owner field in `struct fs'

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Jun 24 2000 - 19:06:14 EST


Alan Cox writes:
> > Should be. If you set SCHED_FIFO and give a process the highest
> > priority, then you are guaranteed that once that process gets the CPU,
> > it will not be switched out until it relinquishes it (block on I/O,
> > sleep or exit).
> >
> > Just make sure you mlockall current and future pages, and do a dry-run
> > of the RT functions.
>
> Doesn't help you. If your stack bumps up another page or you hit any
> other resource requirement we dont guarantee your rt task wont stall

So touch some extra stack pages before sending the "I'm up and
running" signal. And use setrlimit(2) to ensure there isn't a CPU time
limit or something.

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:05 EST