diff options
| author | Daniel Borkmann <[email protected]> | 2014-01-22 01:29:40 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-01-22 07:17:20 +0000 |
| commit | 89770b0a69ee0e0e5e99c722192d535115f73778 (patch) | |
| tree | a8c96a91c2417dc81f5ce08aa59ebcfd456e0335 /lib/flex_array.c | |
| parent | random32: add prandom_u32_max and convert open coded users (diff) | |
| download | kernel-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
