-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Stone wrote:
| According to "man sched_setscheduler" you want either CAP_SYS_NICE or a
| non-zero RLIMIT_RTPRIO and giving these to you means that you can
| hardlock the machine anytime by busywaiting.

As noted in a conversation with Michael, there is a potential "third way",
in the form of SCHED_ISO, isochronous scheduling.  This scheduler patch
creates a "pseudo-realtime" mode that provides lower latencies without the
potential for hardlocks.

http://ck.wikia.com/wiki/SchedulingPolicies#SCHED_ISO

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkinRlsACgkQUJT6e6HFtqTEKwCeOFhU5oxlXnZHH/+GJCD6gsK5
nyIAn1dozdz/77DzP4fv7EoXOunuzYJe
=jeiR
-----END PGP SIGNATURE-----
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to