lkml.org 
[lkml]   [2015]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] sched/fair: Fix null pointer dereference of empty queues
From
Date
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.



\
 
 \ /
  Last update: 2015-05-25 23:21    [W:0.088 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site