Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751771AbdFTBe6 (ORCPT ); Mon, 19 Jun 2017 21:34:58 -0400 Received: from mail-ot0-f180.google.com ([74.125.82.180]:34873 "EHLO mail-ot0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbdFTBez (ORCPT ); Mon, 19 Jun 2017 21:34:55 -0400 MIME-Version: 1.0 In-Reply-To: <594813AA.5010001@iogearbox.net> References: <1495754003-21099-1-git-send-email-illusionist.neo@gmail.com> <593E6B0F.8070901@iogearbox.net> <59419D1E.2060303@iogearbox.net> <594813AA.5010001@iogearbox.net> From: Shubham Bansal Date: Tue, 20 Jun 2017 07:04:54 +0530 Message-ID: Subject: Re: [PATCH v2] arm: eBPF JIT compiler To: Daniel Borkmann Cc: Kees Cook , Network Development , "David S. Miller" , Alexei Starovoitov , Russell King , "linux-arm-kernel@lists.infradead.org" , LKML , Andrew Lunn Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 478 Lines: 17 Hi Daniel, > > Sorry, had a travel over the weekend, so didn't read it in time. > > What is the issue with imitating in JIT what the interpreter is > doing as a starting point? That should be generic enough to handle > any case. > > Otherwise you'd need some sort of reverse mapping since verifier > already converted BPF_CALL insns into relative helper addresses > in imm part. > Sorry but I don't get what you are trying to say. Can you explain it with an example? -Shubham