#2173: Potential integer overflow problem in EDF scheduler -----------------------------+---------------------------- Reporter: sebastian.huber | Owner: joel.sherrill Type: defect | Status: reopened Priority: normal | Milestone: 4.11 Component: cpukit | Version: HEAD Severity: normal | Resolution: Keywords: | -----------------------------+---------------------------- Changes (by sebastian.huber):
* status: closed => reopened * resolution: wontfix => Comment: Actually the Bugzilla to trac conversion seems to have a lot of errors. This was not a hardware problem. This is still an open issue. Without much consideration I would fix it like this: 1. Make the tick since boot uint64_t. 2. Make the Thread_Control::current_priority and Thread_Control::real_priority int64_t (to support easy comparison operations for RB tree insert and search). 3. Remove the Scheduler_Operations::priority_compare operation. With a system tick of 1ns the system can run 146years before something overflows. -- Ticket URL: <http://devel.rtems.org/ticket/2173#comment:3> RTEMS Project <http://www.rtems.org/> RTEMS Project _______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs