diff options
author | Jakub Kicinski <[email protected]> | 2016-09-21 11:43:56 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-09-21 19:50:02 -0400 |
commit | 3df126f35f88dc76eea33769f85a3c3bb8ce6c6b (patch) | |
tree | 72d11939e2d7219edb506fb783014f02f4130740 /tools/perf/scripts/python/sched-migration.py | |
parent | eadb41489fd2249e71fd14b36fb488ed7217ca4b (diff) |
bpf: don't (ab)use instructions to store state
Storing state in reserved fields of instructions makes
it impossible to run verifier on programs already
marked as read-only. Allocate and use an array of
per-instruction state instead.
While touching the error path rename and move existing
jump target.
Suggested-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions