diff options
| author | Hannes Frederic Sowa <[email protected]> | 2013-10-23 06:44:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-10-23 20:26:46 +0000 |
| commit | 34d92d5315b64a3e5292b7e9511c1bb617227fb6 (patch) | |
| tree | 337c4b307bac5d7f126998712bd33b249049e938 /ipc/util.c | |
| parent | net: Dereference pointer-value of sk_prot->memory_pressure (diff) | |
| download | kernel-34d92d5315b64a3e5292b7e9511c1bb617227fb6.tar.gz kernel-34d92d5315b64a3e5292b7e9511c1bb617227fb6.zip | |
net: always inline net_secret_init
Currently net_secret_init does not get inlined, so we always have a call
to net_secret_init even in the fast path.
Let's specify net_secret_init as __always_inline so we have the nop in
the fast-path without the call to net_secret_init and the unlikely path
at the epilogue of the function.
jump_labels handle the inlining correctly.
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions
