Re: [PATCH] sched/fair: Fix null pointer dereference of empty queues
From
Peter Zijlstra <>
Date
Mon, 25 May 2015 22:38:54 +0200
On Mon, 2015-05-25 at 14:00 -0400, Mohammed Naser wrote: > Calling put_prev_task() can result in nr_running being updated > to zero, which would then crash the system when the kernel > attempts to pick_next_entity() with an empty queue.
Getting to pick_next_entity() with an empty queue is a bug.