diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2017-04-03 00:18:23 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-04 04:06:38 +0200 |
commit | 822f9bb104c9d1d2dea3669f1941558c6304cf92 (patch) | |
tree | ac00cc5d4dd56f60a8934e708009d8836387a36c /fs/dax.c | |
parent | flowcache: more "unsigned int" (diff) | |
download | linux-822f9bb104c9d1d2dea3669f1941558c6304cf92.tar.xz linux-822f9bb104c9d1d2dea3669f1941558c6304cf92.zip |
soreuseport: use "unsigned int" in __reuseport_alloc()
Number of sockets is limited by 16-bit, so 64-bit allocation will never
happen.
16-bit ops are the worst code density-wise on x86_64 because of
additional prefix (66).
Space savings:
add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-3 (-3)
function old new delta
reuseport_add_sock 539 536 -3
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions