Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757529AbaGWIy3 (ORCPT ); Wed, 23 Jul 2014 04:54:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12827 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757403AbaGWIy0 (ORCPT ); Wed, 23 Jul 2014 04:54:26 -0400 Message-ID: <53CF782C.2040401@redhat.com> Date: Wed, 23 Jul 2014 10:54:04 +0200 From: Daniel Borkmann User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Varka Bhadram CC: Alexei Starovoitov , "David S. Miller" , Ingo Molnar , Linus Torvalds , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 1/2] net: filter: split filter.c into two files References: <1406095319-3627-1-git-send-email-ast@plumgrid.com> <1406095319-3627-2-git-send-email-ast@plumgrid.com> <53CF522E.9090408@gmail.com> In-Reply-To: <53CF522E.9090408@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/23/2014 08:11 AM, Varka Bhadram wrote: > On 07/23/2014 11:31 AM, Alexei Starovoitov wrote: >> BPF is used in several kernel components. This split creates logical boundary >> between generic eBPF core and the rest >> >> kernel/bpf/core.c: eBPF interpreter >> >> net/core/filter.c: classic->eBPF converter, classic verifiers, socket filters >> >> This patch only moves functions. > > If we are moving the code also its good to do cleanup. > > Run checkpatch.pl on this... Not sure what you understand as a cleanup, but there's nothing wrong with it and most things reported are either intentional or false positives as you might have seen already. The only thing one could do later on perhaps is to rename related functions to have consistently a 'bpf' prefix instead of 'sk' since they won't be under net/ anymore. -- 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/