From mboxrd@z Thu Jan 1 00:00:00 1970 From: mgherzan@gmail.com (Mircea Gherzan) Date: Wed, 21 Dec 2011 16:36:03 +0200 Subject: [PATCH] ARM: net: JIT compiler for packet filters In-Reply-To: References: <1324252185-15894-1-git-send-email-mgherzan@gmail.com> <4EEEA644.5010008@gmail.com> Message-ID: <20111221143602.GA3229@swarm.cs.pub.ro> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Dec 19, 2011 at 12:31:19PM -0500, Nicolas Pitre wrote: > On Sun, 18 Dec 2011, Rob Herring wrote: > > > On 12/18/2011 05:49 PM, Mircea Gherzan wrote: > > > + select HAVE_BPF_JIT if (!THUMB2_KERNEL && AEABI) > > > > No thumb2. That's a shame... > > I think this would be more sensible to make a Thumb2 kernel properly > interoperate with this and keep the JIT code simple rather than having > to duplicate all this for Thumb2. The JITed code interoperates properly with a Thumb2 kernel as of v3 of the patch. > > BLX is v5+ only. It probably fine to make the JIT v5+ only. There's > > probably not much v4 h/w that would use this. > > While you might be right, I don't think it is that big a cost to make > this support ARMv4 too. In fact, if slow ARMv4 systems are still > routing packets out there, they are likely to see a huge benefit from > this. This has also been addressed in v3. Mircea