The tick when exit idle for nohz_full cpu

2015-09-02 Thread Jiang, Yunhong
Hi, Frederic I noticed currently the tick_nohz_idle_exit() will always restart the sched_tick, even when it's on the nohz_full cpu. I'm not sure if we can keep the sched_tick stopped if it's on a nohz_full_cpu. The sched tick will be enabled on tick_nohz_task_switch() if needed. Is it

Set the idle_exittime on tick_nohz_restart_sched_tick

2015-09-02 Thread Jiang, Yunhong
Hi, Frederic I noticed on latest code, the tick_nohz_restart_sched_tick() set the ts->idle_exittime, should it be done on tick_nohz_stop_idle() since the tick_nohz_restart_sched_tick() is invoked also on nohz_full scenario, am I right, or do I miss anything? Thanks --jyh -- To

RE: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Jiang, Yunhong
> -Original Message- > From: Chris Metcalf [mailto:cmetc...@ezchip.com] > Sent: Wednesday, September 2, 2015 9:17 AM > To: Mike Galbraith; Frederic Weisbecker > Cc: Jiang, Yunhong; Ingo Molnar; Peter Zijlstra; LKML; Vatika Harlalka; Thomas > Gleixner; Preeti U Murthy;

RE: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Jiang, Yunhong
> -Original Message- > From: Chris Metcalf [mailto:cmetc...@ezchip.com] > Sent: Wednesday, September 2, 2015 9:17 AM > To: Mike Galbraith; Frederic Weisbecker > Cc: Jiang, Yunhong; Ingo Molnar; Peter Zijlstra; LKML; Vatika Harlalka; Thomas > Gleixner; Preeti U Murthy;

The tick when exit idle for nohz_full cpu

2015-09-02 Thread Jiang, Yunhong
Hi, Frederic I noticed currently the tick_nohz_idle_exit() will always restart the sched_tick, even when it's on the nohz_full cpu. I'm not sure if we can keep the sched_tick stopped if it's on a nohz_full_cpu. The sched tick will be enabled on tick_nohz_task_switch() if needed. Is it

Set the idle_exittime on tick_nohz_restart_sched_tick

2015-09-02 Thread Jiang, Yunhong
Hi, Frederic I noticed on latest code, the tick_nohz_restart_sched_tick() set the ts->idle_exittime, should it be done on tick_nohz_stop_idle() since the tick_nohz_restart_sched_tick() is invoked also on nohz_full scenario, am I right, or do I miss anything? Thanks --jyh -- To

RE: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-01 Thread Jiang, Yunhong
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Frederic Weisbecker > Sent: Tuesday, September 1, 2015 7:51 AM > To: Ingo Molnar; Peter Zijlstra > Cc: LKML; Vatika Harlalka; Chris Metcalf; Thomas Gleixner; Preeti U

RE: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-01 Thread Jiang, Yunhong
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Frederic Weisbecker > Sent: Tuesday, September 1, 2015 7:51 AM > To: Ingo Molnar; Peter Zijlstra > Cc: LKML; Vatika Harlalka; Chris Metcalf; Thomas Gleixner; Preeti U