[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CB86804.7090600@oracle.com>
Date: Fri, 15 Oct 2010 07:41:08 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Ben Pfaff <blp@...stanford.edu>
CC: Bruno Randolf <br1@...fach.org>, linux-kernel@...r.kernel.org,
akpm <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Add generic exponentially weighted moving average function
On 10/14/10 20:40, Ben Pfaff wrote:
> Randy Dunlap <randy.dunlap@...cle.com> writes:
>
>> On Wed, 06 Oct 2010 18:32:25 +0900 Bruno Randolf wrote:
>>
>>> This adds a generic exponentially weighted moving average function. This
>>> implementation makes use of a structure which keeps a scaled up internal
>>> representation to reduce rounding errors.
>>>
>>> The idea for this implementation comes from the rt2x00 driver (rt2x00link.c)
>>> and i would like to use it in several places in the mac80211 and ath5k code.
>>
>> I guess I don't understand "exponentially weighted" or why that would
>> be desirable. Please try to explain (briefly).
>
> I wrote up a fairly non-brief explanation of exponentially
> weighted moving averages a few years ago:
> http://www.stanford.edu/class/cs140/projects/pintos/pintos_7.html#SEC134
Thanks, nice writeup.
--
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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