aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2014-01-22 01:29:40 +0000
committerDavid S. Miller <[email protected]>2014-01-22 07:17:20 +0000
commit89770b0a69ee0e0e5e99c722192d535115f73778 (patch)
treea8c96a91c2417dc81f5ce08aa59ebcfd456e0335 /lib/flex_array.c
parentrandom32: add prandom_u32_max and convert open coded users (diff)
downloadkernel-89770b0a69ee0e0e5e99c722192d535115f73778.tar.gz
kernel-89770b0a69ee0e0e5e99c722192d535115f73778.zip
net: introduce reciprocal_scale helper and convert users
As David Laight suggests, we shouldn't necessarily call this reciprocal_divide() when users didn't requested a reciprocal_value(); lets keep the basic idea and call it reciprocal_scale(). More background information on this topic can be found in [1]. Joint work with Hannes Frederic Sowa. [1] http://homepage.cs.uiowa.edu/~jones/bcd/divide.html Suggested-by: David Laight <[email protected]> Cc: Jakub Zawadzki <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: [email protected] Signed-off-by: Hannes Frederic Sowa <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions