Re: [PATCH 4/5] sched/isolation: Residual 1Hz scheduler tick offload

From: Frederic Weisbecker
Date: Tue Dec 19 2017 - 11:32:26 EST


2017-12-19 17:03 UTC+01:00, Christopher Lameter <cl@xxxxxxxxx>:
> On Tue, 19 Dec 2017, Frederic Weisbecker wrote:
>
>> Adding the boot parameter "isolcpus=nohz_offload" will now outsource
>> these scheduler ticks to the global workqueue so that a housekeeping CPU
>> handles that tick remotely.
>
> The vmstat processing required per cpu area access. How does that work if
> the code is running on a remote processor?

It seems that current::sched_class::task_tick() is ok with this, as it
uses per runqueues or per task datas. And both are passed as
arguments.