Re: [PATCH] DRAFT: Detect big scheduling pauses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Only one question inline

On 4/5/2013 10:36 AM, Jan Friesse wrote:

> +static void timer_function_scheduler_timeout (void *data)
> +{
> +	struct scheduler_pause_timeout_data *timeout_data = (struct scheduler_pause_timeout_data *)data;
> +	unsigned long long tv_current;
> +	unsigned long long tv_diff;
> +
> +	tv_current = timerlist_nano_current_get ();

are we sure the value returned from this function is increased regularly
even if the VM is "slowing down" from outside (host scheduling)?

Otherwise the patch looks good to me (nitpick a couple of extra \n)

Fabio
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss




[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux