commit | 828e2b90e8e9b5bd844a25f22ceeb8df4dd18b07 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@armlinux.org.uk> | Wed Jul 11 10:32:12 2018 +0100 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Thu Jul 12 20:45:23 2018 +0200 |
tree | c487a6b61c89ce646578cad5950403c945517a46 | |
parent | 1ca3b17b777c4136f9dba0195e13502c445f4ade [diff] |
ARM: net: bpf: use immediate forms of instructions where possible Rather than moving constants to a register and then using them in a subsequent instruction, use them directly in the desired instruction cutting out the "middle" register. This removes two instructions from the tail call code path. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>