[riot-notifications] [RIOT-OS/RIOT] sys/sched_rr: Add a round robin scheduler module (#16126)

Karl Fessel notifications at github.com
Fri Apr 9 12:02:19 CEST 2021


@kfessel commented on this pull request.



> @@ -82,7 +82,7 @@ void sched_runq_callback(uint8_t prio)
     }
 
     if (_current_rr_priority == prio) {
-        if (sched_runqueue_len2(prio) == 0) {
+        if (sched_runqueue_is_empty(prio)) {

[core/shed: doc roundrobin -> advance](https://github.com/RIOT-OS/RIOT/pull/16126/commits/f7558630f7fd4fc5e4da3248b15d317d742873b3)
has some extra bytes (native) that are not there before or after the diff to before is just documentation, after has the cardinality functions introduced. with a clean recompilation it is more than 4 bytes in either direction.

the 4 of these extra bytes are an extra push in xtimer and a eax pointer dereference in the runqueue_callback

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16126#discussion_r610504806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210409/558dd85c/attachment.htm>


More information about the notifications mailing list