Re: [RFC PATCH v1 00/11] Create fast idle path for short idle periods

From: Li, Aubrey
Date: Tue Jul 11 2017 - 22:08:15 EST


On 2017/7/12 1:58, Christoph Lameter wrote:
> On Tue, 11 Jul 2017, Frederic Weisbecker wrote:
>
>>> --- a/kernel/time/tick-sched.c
>>> +++ b/kernel/time/tick-sched.c
>>> @@ -787,6 +787,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts,
>>> if (!ts->tick_stopped) {
>>> calc_load_nohz_start();
>>> cpu_load_update_nohz_start();
>>> + quiet_vmstat();
>>
>> This patch seems to make sense. Christoph?
>
> Ok makes sense to me too. Was never entirely sure where the proper place
> would be to call it.
>
Do we have another path to invoke tick_nohz_stop_sched_tick() in the interrupt exit context
for nohz full case?

Thanks,
-Aubrey