Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

Chapter 31. Real-Time Kernel

A race condition that prevented tasks from being scheduled properly has been fixed

Previously, preemption was enabled too early after a context switch. If a task was migrated to another CPU after a context switch, a mismatch between CPU and runqueue during load balancing sometimes occurred. Consequently, a runnable task on an idle CPU failed to run, and the operating system became unresponsive. This update disables preemption in the schedule_tail() function. As a result, CPU migration during post-schedule processing no longer occurs, which prevents the above mismatch. The operating system no longer hangs due to this bug. (BZ#1608672, BZ#1541534)