On Tue, 20 Jan 2015, Preeti U Murthy wrote:
> --- a/kernel/time/tick-broadcast.c
> +++ b/kernel/time/tick-broadcast.c
> @@ -675,8 +675,8 @@ static void broadcast_move_bc(int deadcpu)
>  
>       if (!bc || !broadcast_needs_cpu(bc, deadcpu))
>               return;
> -     /* This moves the broadcast assignment to this cpu */
> -     clockevents_program_event(bc, bc->next_event, 1);
> +     /* This allows fresh nomination of broadcast cpu */

This comment should explain WHY this enforces the move of the
broadcast to a different cpu. 'Allows' is rather ambiguous.

> +     bc->next_event.tv64 = KTIME_MAX;

Thanks,

        tglx
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to