> "There are no separate dispatch queues for the > different classes." > > > well according to Solaris Internals, page 229, I > quote: "Kernel preempt dispatch queue. Real-time > threads are managed on a separate dispatch queue from > other classes" > > I've checked the rtshed.c and sched.c etc. But I have > a hard time getting a "grip" about the SCHED_FIFO and > SCHED_RR. If someone could help me sort out this I > would really appreciate it. > > Why I'm asking is be course I'd like to add the > SCHED_SPORADIC policy. But I need to find where the > FIFO and RR are implemented so to say ... hmm hope > you understand what I mean. > > Any help is appreciated. > > Thanks. > /Micke
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libc/port/rt/sched.c#374 (choice of limited vs open-end time quantum) ...and then the RT class implements the settings passed to it via priocntl(2); so you won't see mention of POSIX scheduling classes in the kernel code. I think it enforces the time quantum at http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/disp/rt.c#984 (I _think_ I got that right...) This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code