lkml.org 
[lkml]   [2022]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] sched/core: Skip sched_core_fork/free() when core sched is disabled
On Mon, Apr 25, 2022 at 04:17:34AM +0800, Cruz Zhao wrote:
> As __put_task_struct() and copy_process() are hot path functions,
> the call of sched_core_fork/free() will bring overhead when core
> sched is disabled, and we skip them in these cases.

Only if you have profile data.. mostly these functions do whole lot of
nothing.

\
 
 \ /
  Last update: 2022-04-25 10:16    [W:0.039 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site