Re: [PATCH v5] Add generic exponentially weighted moving average (EWMA) function

From: KOSAKI Motohiro
Date: Thu Oct 21 2010 - 21:42:50 EST



only one nit.

> +/**
> + * ewma_init() - Initialize EWMA parameters
> + * @avg: Average structure
> + * @factor: Factor to use for the scaled up internal value. The maximum value
> + * of averages can be UINT_MAX/(factor*weight).

ULONG_MAX?


Anyway,
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/