Re: [v3 1/2] sched/clock: interface to allow timestamps early in boot

2017-08-15 Thread Dou Liyang
Hi Pasha, At 08/14/2017 11:44 PM, Pasha Tatashin wrote: Hi Dou, Thank you for your comments: { x86_init.timers.timer_init(); tsc_init(); +tsc_early_fini(); tsc_early_fini() is defined in patch 2, I guess you may miss it when you split your patches. Indeed, I will move it to

Re: [v3 1/2] sched/clock: interface to allow timestamps early in boot

2017-08-14 Thread Pasha Tatashin
Hi Dou, Thank you for your comments: { x86_init.timers.timer_init(); tsc_init(); +tsc_early_fini(); tsc_early_fini() is defined in patch 2, I guess you may miss it when you split your patches. Indeed, I will move it to patch 2. +static DEFINE_STATIC_KEY_TRUE(__use_sched_clo

Re: [v3 1/2] sched/clock: interface to allow timestamps early in boot

2017-08-13 Thread Dou Liyang
Hi Pavel, At 08/12/2017 02:50 AM, Pavel Tatashin wrote: In Linux printk() can output timestamps next to every line. This is very useful for tracking regressions, and finding places that can be optimized. However, the timestamps are available only later in boot. On smaller machines it is insigni