#24554: sched: Have per-scheduler type data in a channel_t
--------------------------+------------------------------------
Reporter: dgoulet | Owner: dgoulet
Type: enhancement | Status: needs_review
Priority: Medium | Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-sched | Actual Points:
Parent ID: #23993 | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------------
Comment (by dgoulet):
Quick note. Moving `sched_heap_idx` out of `channel_t` and into
`sched_info_t` is a bit more difficult because we use this `offsetof()`
strategy with priority list so `sched_heap_idx` needs to offset from the
`channel_t` object which is what is stored in the list. One possible
solution would be to keep a pointer to the channel inside the
`sched_info_t` and store those objects instead.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24554#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs