bpf: Use size instead of pages in bpf_binary_header

This is necessary to charge sub page memory for the BPF program.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220204185742.271030-4-song@kernel.org
This commit is contained in:
Song Liu 2022-02-04 10:57:36 -08:00 • committed by Alexei Starovoitov
commit ed2d9e1a26
2 changed files with 8 additions and 9 deletions