[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130805.122007.920229880103067439.davem@davemloft.net>
Date: Mon, 05 Aug 2013 12:20:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: vfalico@...hat.com
Cc: netdev@...r.kernel.org, fubar@...ibm.com, andy@...yhouse.net
Subject: Re: [PATCH net-next 0/2] bonding: cleanup arp_interval related
time math
From: Veaceslav Falico <vfalico@...hat.com>
Date: Sat, 3 Aug 2013 03:50:34 +0200
> Current implementation uses heavily time_in_range() with similar, lengthy,
> params. By moving it to a separate function we can simplify the code a lot.
>
> First patch saves a possibly heavy slave_last_rx() function to a variable
> and uses the variable in the calculation.
>
> Second patch introduces helper function bond_time_in_interval() to make the
> arp_interval math and uses it instead of lengthy time_in_range() calls.
>
> Both of them don't change anything logically and in terms of speed and are
> purely cleanup patches.
Series applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists