Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932151AbaFBO5j (ORCPT ); Mon, 2 Jun 2014 10:57:39 -0400 Received: from mail-wg0-f43.google.com ([74.125.82.43]:42935 "EHLO mail-wg0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755255AbaFBO5g (ORCPT ); Mon, 2 Jun 2014 10:57:36 -0400 MIME-Version: 1.0 In-Reply-To: <20140602141606.GC2544@kernel.org> References: <1401692506-7796-1-git-send-email-ast@plumgrid.com> <20140602081545.7baf4a91@lwn.net> <20140602092456.2114440a@gandalf.local.home> <20140602141606.GC2544@kernel.org> Date: Mon, 2 Jun 2014 07:57:33 -0700 Message-ID: Subject: Re: [PATCH v2 net-next 0/2] split BPF out of core networking From: Alexei Starovoitov To: Arnaldo Carvalho de Melo Cc: Steven Rostedt , Jonathan Corbet , "David S. Miller" , Ingo Molnar , Daniel Borkmann , Chema Gonzalez , Eric Dumazet , Peter Zijlstra , Jiri Olsa , Thomas Gleixner , "H. Peter Anvin" , Andrew Morton , Kees Cook , Network Development , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 2, 2014 at 7:16 AM, Arnaldo Carvalho de Melo wrote: > Em Mon, Jun 02, 2014 at 09:24:56AM -0400, Steven Rostedt escreveu: >> On Mon, 2 Jun 2014 08:15:45 -0500 >> Jonathan Corbet wrote: > >> > On Mon, 2 Jun 2014 00:01:44 -0700 >> > Alexei Starovoitov wrote: > >> > > This patch set splits BPF out of core networking into generic component > >> > Quick, probably dumb question: if you're going to split it out, why not >> > split it out entirely, into kernel/ or (perhaps better) lib/? The >> > whole point seems to be that BPF is outgrowing its networking home, so >> > it seems like it might be better to make it truly generic. > >> I believe this is what Ingo suggested as well. If it is become generic, >> it belongs in lib/ > > Yes, that was his suggestion, which I agree with, FWIW. I guess I posted v2 too quickly :) v2 splits filter.c into kernel/bpf/. I think it's a better location than lib/bpf, since lib feels too constrained by definition of 'library'. bpf is more than a set of library calls. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/