Re: [RFC bpf-next 1/8] bpf: introducing list based insn patching infra to core layer

2019-07-15 Thread Jiong Wang
Andrii Nakryiko writes: > On Thu, Jul 11, 2019 at 4:53 AM Jiong Wang wrote: >> >> >> Andrii Nakryiko writes: >> >> > On Thu, Jul 4, 2019 at 2:32 PM Jiong Wang wrote: >> >> >> >> This patch introduces list based bpf insn patching infra to bpf core layer >> >> which is lower than verification la

Re: [RFC bpf-next 1/8] bpf: introducing list based insn patching infra to core layer

2019-07-12 Thread Andrii Nakryiko
On Thu, Jul 11, 2019 at 4:53 AM Jiong Wang wrote: > > > Andrii Nakryiko writes: > > > On Thu, Jul 4, 2019 at 2:32 PM Jiong Wang wrote: > >> > >> This patch introduces list based bpf insn patching infra to bpf core layer > >> which is lower than verification layer. > >> > >> This layer has bpf ins

Re: [RFC bpf-next 1/8] bpf: introducing list based insn patching infra to core layer

2019-07-11 Thread Jiong Wang
Andrii Nakryiko writes: > On Thu, Jul 4, 2019 at 2:32 PM Jiong Wang wrote: >> >> This patch introduces list based bpf insn patching infra to bpf core layer >> which is lower than verification layer. >> >> This layer has bpf insn sequence as the solo input, therefore the tasks >> to be finished

Re: [RFC bpf-next 1/8] bpf: introducing list based insn patching infra to core layer

2019-07-10 Thread Andrii Nakryiko
On Thu, Jul 4, 2019 at 2:32 PM Jiong Wang wrote: > > This patch introduces list based bpf insn patching infra to bpf core layer > which is lower than verification layer. > > This layer has bpf insn sequence as the solo input, therefore the tasks > to be finished during list linerization is: > -

[RFC bpf-next 1/8] bpf: introducing list based insn patching infra to core layer

2019-07-04 Thread Jiong Wang
This patch introduces list based bpf insn patching infra to bpf core layer which is lower than verification layer. This layer has bpf insn sequence as the solo input, therefore the tasks to be finished during list linerization is: - copy insn - relocate jumps - relocation line info. Suggest