lkml.org 
[lkml]   [2023]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] x86/resctrl: avoid compiler optimization in __resctrl_sched_in
Date
> However in the __switch_to() routine, the current point is changed.  If the
> compiler optimizes away the reload, then the resctrl_sched_in will look
> at the previous task instead of the new current task. This explains why we
> were not seeing the limit enforced on the benchmark.

Are there any other uses of "current" during context switch that might
be affected by this?

-Tony
\
 
 \ /
  Last update: 2023-03-27 00:43    [W:0.094 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site