Re: [RFC PATCH v8 38/49] bpf tools: Load instructions buffer using load_program()

From: Wangnan (F)
Date: Fri Jun 26 2015 - 07:01:50 EST




On 2015/6/26 16:28, Alexei Starovoitov wrote:
On 6/24/15 5:31 AM, Wang Nan wrote:
Extract code for loading a 'struct bpf_insn' array into kernel to
load_program() and makes bpf_program__load() to call it. Now we have
function loads instructions into kernel. It will be used by further
patches, which creates different instances from a program and load them
into kernel.

Signed-off-by: Wang Nan<wangnan0@xxxxxxxxxx>

I think it's cleaner to squash this patch with earlier libbpf patches.
Looks good otherwise.

I thought you may don't want to enlarge this patchset, so I separated the newly
introduced patches from the original ones, then you can skip reading the first 37
patches. But if you wish, I'll squash them together.


Thank you.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/