From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 31 Jul 2014 18:57:07 +0200 (CEST) Received: from terminus.zytor.com ([198.137.202.10]:51377 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6860183AbaGaQ5FL-n-e (ORCPT ); Thu, 31 Jul 2014 18:57:05 +0200 Received: from tazenda.hos.anvin.org ([IPv6:2601:9:7280:900:e269:95ff:fe35:9f3c]) (authenticated bits=0) by mail.zytor.com (8.14.7/8.14.5) with ESMTP id s6VGurAN002074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 31 Jul 2014 09:56:53 -0700 Message-ID: <53DA7550.40905@zytor.com> Date: Thu, 31 Jul 2014 09:56:48 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 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" 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: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 41846 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: hpa@zytor.com Precedence: bulk List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: linux-mips X-List-ID: linux-mips List-subscribe: List-owner: List-post: List-archive: X-list: linux-mips 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 Received: from terminus.zytor.com ([198.137.202.10]:51377 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6860183AbaGaQ5FL-n-e (ORCPT ); Thu, 31 Jul 2014 18:57:05 +0200 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 Return-Path: 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" Message-ID: <20140731165648.2w424umJk2UlYn-caXOz1TQR5qDe0byLoUToWvv_uQU@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