site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Mar 14, 2007, at 3:22 PM, Terry Lambert wrote: This is a really bad idea, bordering on useless scheduler abuse, IMHO. -Ed _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Alternately, setting the task priority to RT (it _is_ an AV application, after all) would give the paging in of the pause path priority, and, again, you'd get a more or less immediate response. IO is not prioritized on darwin (altho it may be deprioritized...), its handled first come first serve. Your realtime thread will page just as fast as non-realtime threads, especially since every page fault you take will allow several ms of time for other lower priorty threads to get their fault requests into the queue. RT goes out the window across IO, except for pure scheduler latency... but I'd bet just about anything that isn't the problem here. This email sent to site_archiver@lists.apple.com
participants (1)
-
Ed Wynne