Re: [PATCH net-next 0/2] split BPF out of core networking

From: Ingo Molnar
Date: Sun Jun 01 2014 - 04:06:11 EST



* Alexei Starovoitov <ast@xxxxxxxxxxxx> wrote:

> This patch set splits BPF out of core networking into generic component

> net: filter: split filter.c into two files
> net: filter: split BPF out of core networking
>
> arch/Kconfig | 3 +-
> include/linux/filter.h | 2 +
> net/Kconfig | 4 +
> net/Makefile | 1 +
> net/bpf/Makefile | 5 +
> net/bpf/core.c | 1063 ++++++++++++++++++++++++++++++++++++++++++++++++
> net/core/filter.c | 1023 +---------------------------------------------
> 7 files changed, 1079 insertions(+), 1022 deletions(-)
> create mode 100644 net/bpf/Makefile
> create mode 100644 net/bpf/core.c

I like the splitup, but please put it into lib/bpf/ or kernel/bpf/ to
signal its 'generic', 'core' nature, to be used in many subsystems
outside of networking.

Thanks,

Ingo
--
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/