|
|
Log in / Subscribe / Register

A safe SCHED_IDLE implementation

A safe SCHED_IDLE implementation

Posted Jul 7, 2002 21:38 UTC (Sun) by Peter (guest, #1127)
In reply to: A safe SCHED_IDLE implementation by xoddam
Parent article: A safe SCHED_IDLE implementation

As discussed, surely it is still possible for a priority inversion to occur if a SCHED_BATCH process holds a shared resource in userspace?

Priority inversion can be simulated by merely taking a resource and never releasing it. So if you can't trust your users not to DOS you with a priority inversion, you shouldn't give them permission to lock those shared resources in the first place.

As for unintentional priority inversion - yes, it's a userspace problem. (:


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds