lkml.org 
[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:sched/urgent] sched/numa: Fix NULL pointer dereference in task_numa_migrate()
On Wed, Nov 13, 2013 at 09:25:22AM -0800, tip-bot for Rik van Riel wrote:
> + if (unlikely(!sd)) {
> + p->numa_preferred_nid = cpu_to_node(task_cpu(p));

't is only now I notice, but I added a convenience helper for this:
task_node(p) :-)

No biggie, I'll try and remember when next something near there needs
changing.


\
 
 \ /
  Last update: 2013-11-13 19:01    [W:0.034 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site