netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/3] reciprocal_divide updates
@ 2014-01-17  0:28 Hannes Frederic Sowa
  2014-01-17  0:28 ` [PATCH net-next v2 1/3] random32: add prandom_u32_max and convert open coded users Hannes Frederic Sowa
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Hannes Frederic Sowa @ 2014-01-17  0:28 UTC (permalink / raw)
  To: netdev

This set is on top of Eric's BPF fix, that is:
  
  <http://patchwork.ozlabs.org/patch/311163/>

This fix is currently in the net repository; a merge of net to net-next
would be needed for this series. 

Included Patches:

Daniel Borkmann (2):
      random32: add prandom_u32_max and convert open coded users
      net: add trim helper and convert users

Hannes Frederic Sowa (1):
      reciprocal_divide: correction/update of the algorithm

Diffstat:
 drivers/net/bonding/bond_main.c     | 24 +++++++++++++++++-------
 drivers/net/bonding/bond_netlink.c  |  4 ----
 drivers/net/bonding/bond_options.c  | 15 ++++++++++----- 
 drivers/net/bonding/bond_sysfs.c    |  5 -----
 drivers/net/bonding/bonding.h       |  3 +++
 drivers/net/team/team_mode_random.c |  8 +-------
 include/linux/flex_array.h          |  3 ++-
 include/linux/kernel.h              | 19 +++++++++++++++++++
 include/linux/random.h              | 19 ++++++++++++++++++-
 include/linux/reciprocal_div.h      | 39 +++++++++++++++++++++------------------
 include/linux/slab_def.h            |  4 +++-
 include/net/codel.h                 |  4 +---
 include/net/red.h                   |  3 ++-
 lib/flex_array.c                    |  7 ++++++-
 lib/reciprocal_div.c                | 24 ++++++++++++++++++++----
 net/packet/af_packet.c              |  5 ++---
 net/sched/sch_choke.c               |  9 +--------
 net/sched/sch_netem.c               |  6 ++++--
 18 files changed, 130 insertions(+), 71 deletions(-)

Changelog:
v2)
* change function name to prandom_u32_max as suggested by Joe Perches
* first patch split into two patches, second one introduces helper
  function trim (suggested by Eric Dumazet to not go back to open-coded
  version and David Laight to rename reciprocal_divide())
* removed RECIPROCAL_VALUE_RESULT_TO_ZERO as it causes undefined behaviour
  and is broken (thanks Ben Hutchings!)
* reworded

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-01-17 19:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17  0:28 [PATCH net-next v2 0/3] reciprocal_divide updates Hannes Frederic Sowa
2014-01-17  0:28 ` [PATCH net-next v2 1/3] random32: add prandom_u32_max and convert open coded users Hannes Frederic Sowa
2014-01-17  0:28 ` [PATCH net-next v2 2/3] net: add trim helper and convert users Hannes Frederic Sowa
2014-01-17  9:52   ` David Laight
2014-01-17 10:06     ` Daniel Borkmann
2014-01-17 18:15   ` Ben Hutchings
2014-01-17 19:08     ` Eric Dumazet
2014-01-17  0:28 ` [PATCH net-next v2 3/3] reciprocal_divide: correction/update of the algorithm Hannes Frederic Sowa
2014-01-17  2:33   ` Eric Dumazet
2014-01-17  4:29     ` Hannes Frederic Sowa
2014-01-17  5:42       ` Eric Dumazet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).