[lkml]   [2013]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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

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