From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v4 0/5] x86: two-phase syscall tracing and seccomp fastpath Date: Thu, 31 Jul 2014 09:56:48 -0700 Message-ID: <53DA7550.40905@zytor.com> References: <20140729192056.GA6308@redhat.com> <20140730165940.GB27954@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Andy Lutomirski , Frederic Weisbecker Cc: Oleg Nesterov , linux-arch , X86 ML , LSM List , Linux MIPS Mailing List , "linux-arm-kernel@lists.infradead.org" , Alexei Starovoitov , Will Drewry , Kees Cook , "linux-kernel@vger.kernel.org" List-Id: linux-arch.vger.kernel.org On 07/30/2014 10:25 AM, Andy Lutomirski wrote: > > And yet x86_64 has this code implemented in assembly even in the > slowpath. Go figure. > There is way too much assembly in entry_64.S probably because things have been grafted on, ahem, "organically". It is darn nigh impossible to even remotely figure out what goes on in that file. -hpa From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:60449 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751349AbaGaQ5a (ORCPT ); Thu, 31 Jul 2014 12:57:30 -0400 Message-ID: <53DA7550.40905@zytor.com> Date: Thu, 31 Jul 2014 09:56:48 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH v4 0/5] x86: two-phase syscall tracing and seccomp fastpath References: <20140729192056.GA6308@redhat.com> <20140730165940.GB27954@localhost.localdomain> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andy Lutomirski , Frederic Weisbecker Cc: Oleg Nesterov , linux-arch , X86 ML , LSM List , Linux MIPS Mailing List , "linux-arm-kernel@lists.infradead.org" , Alexei Starovoitov , Will Drewry , Kees Cook , "linux-kernel@vger.kernel.org" Message-ID: <20140731165648.jFUZC01sJG3nVqi06bTknqb_nRptekM3_zNS8iamJ-Y@z> On 07/30/2014 10:25 AM, Andy Lutomirski wrote: > > And yet x86_64 has this code implemented in assembly even in the > slowpath. Go figure. > There is way too much assembly in entry_64.S probably because things have been grafted on, ahem, "organically". It is darn nigh impossible to even remotely figure out what goes on in that file. -hpa