Re: [PATCH] tick/nohz: Make the idle_exittime update correctly

2021-02-19 Thread Frederic Weisbecker
On Sat, Dec 05, 2020 at 05:41:52PM +0800, Yunfeng Ye wrote: > The idle_exittime field of tick_sched is used to record the time when > the idle state was left. but currently the idle_exittime is updated in > the function tick_nohz_restart_sched_tick(), which is not always in idle > state when nohz_f

Re: [PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-17 Thread Yunfeng Ye
On 2020/12/17 21:59, Frederic Weisbecker wrote: > On Thu, Dec 17, 2020 at 02:51:58PM +0800, Yunfeng Ye wrote: >> >> >> On 2020/12/15 22:47, Frederic Weisbecker wrote: >>> On Tue, Dec 15, 2020 at 08:06:34PM +0800, Yunfeng Ye wrote: The idle_exittime field of tick_sched is used to record the

Re: [PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-17 Thread Frederic Weisbecker
On Thu, Dec 17, 2020 at 02:51:58PM +0800, Yunfeng Ye wrote: > > > On 2020/12/15 22:47, Frederic Weisbecker wrote: > > On Tue, Dec 15, 2020 at 08:06:34PM +0800, Yunfeng Ye wrote: > >> The idle_exittime field of tick_sched is used to record the time when > >> the idle state was left. but currently

Re: [PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-16 Thread Yunfeng Ye
On 2020/12/15 22:47, Frederic Weisbecker wrote: > On Tue, Dec 15, 2020 at 08:06:34PM +0800, Yunfeng Ye wrote: >> The idle_exittime field of tick_sched is used to record the time when >> the idle state was left. but currently the idle_exittime is updated in >> the function tick_nohz_restart_sched

Re: [PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-15 Thread Frederic Weisbecker
On Tue, Dec 15, 2020 at 08:06:34PM +0800, Yunfeng Ye wrote: > The idle_exittime field of tick_sched is used to record the time when > the idle state was left. but currently the idle_exittime is updated in > the function tick_nohz_restart_sched_tick(), which is not always in idle > state when nohz_f

[PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-15 Thread Yunfeng Ye
The idle_exittime field of tick_sched is used to record the time when the idle state was left. but currently the idle_exittime is updated in the function tick_nohz_restart_sched_tick(), which is not always in idle state when nohz_full is configured. tick_irq_exit tick_nohz_irq_exit tic

[PATCH] tick/nohz: Make the idle_exittime update correctly

2020-12-05 Thread Yunfeng Ye
The idle_exittime field of tick_sched is used to record the time when the idle state was left. but currently the idle_exittime is updated in the function tick_nohz_restart_sched_tick(), which is not always in idle state when nohz_full is configured. tick_irq_exit tick_nohz_irq_exit tic