[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Nov 2010 19:53:29 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Bruno Randolf <br1@...fach.org>
Cc: randy.dunlap@...cle.com, peterz@...radead.org, blp@...stanford.edu,
linux-kernel@...r.kernel.org, Lars_Ericsson@...ia.com,
kosaki.motohiro@...fujitsu.com, kevin.granade@...il.com
Subject: Re: [PATCH v6] Add generic exponentially weighted moving average
(EWMA) function
On Thu, 11 Nov 2010 12:47:56 +0900 Bruno Randolf <br1@...fach.org> wrote:
> This adds generic functions for calculating Exponentially Weighted Moving
> Averages (EWMA). This implementation makes use of a structure which keeps the
> EWMA parameters and a scaled up internal representation to reduce rounding
> errors.
>
> The original idea for this implementation came from the rt2x00 driver
> (rt2x00link.c). I would like to use it in several places in the mac80211 and
> ath5k code and I hope it can be useful in many other places in the kernel code.
>
> Signed-off-by: Bruno Randolf <br1@...fach.org>
> Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
>
> --
>
> Excuse me, but can I expect this to be merged anytime soon? Where do I check if
> it got merged? I'm resending the patch in case it got lost.
Yes, sorry, this is buried in my exponentially increasing backlog.
It's going to take me a while to catch up again.
Unless I just merge stuff without looking at it. hm, I wonder if that
would make any difference??
> +/**
> + * DOC: Exponentially Weighted Moving Average (EWMA)
> + *
> + * These are generic functions for calculating Exponentially Weighted Moving
> + * Averages (EWMA). We keep a structure with the EWMA parameters and a scaled
> + * up internal representation of the average value to prevent rounding errors.
> + * The factor for scaling up and the exponential weight (or decay rate) have to
> + * be specified thru the init fuction. The structure should not be accessed
> + * directly but only thru the helper functions.
> + */
<reads Documentation/kernel-doc-nano-HOWTO.txt>
Well, I never knew about "DOC:".
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists