Re: [PATCH 1/2] average: provide macro to create static EWMA

2015-08-13 Thread Johannes Berg
On Thu, 2015-08-13 at 17:26 -0700, David Miller wrote: > From: Johannes Berg > Date: Thu, 13 Aug 2015 11:11:48 +0200 > > > From: Johannes Berg > > > > Having the EWMA parameters stored in the runtime struct imposes > > memory requirements for the constant values that could just be > > inlined i

Re: [PATCH 1/2] average: provide macro to create static EWMA

2015-08-13 Thread David Miller
From: Johannes Berg Date: Thu, 13 Aug 2015 11:11:48 +0200 > From: Johannes Berg > > Having the EWMA parameters stored in the runtime struct imposes > memory requirements for the constant values that could just be > inlined in the code. This particularly makes sense if there are > a lot of such

[PATCH 1/2] average: provide macro to create static EWMA

2015-08-13 Thread Johannes Berg
From: Johannes Berg Having the EWMA parameters stored in the runtime struct imposes memory requirements for the constant values that could just be inlined in the code. This particularly makes sense if there are a lot of such structs, for example in mac80211 in the station table where each station