lkml.org 
[lkml]   [2018]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] sched/core: remove get_cpu() from sched_fork()
On Fri, Jul 06, 2018 at 03:06:15PM +0200, Sebastian Andrzej Siewior wrote:
> Based on this it is possible to remove get_cpu() and use
> smp_processor_id() for the `cpu' variable without breaking anything.

Almost.. I think, see init_task_preempt_count().

\
 
 \ /
  Last update: 2018-07-06 15:18    [W:0.072 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site