From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752216AbcEYUuo (ORCPT ); Wed, 25 May 2016 16:50:44 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:43202 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751148AbcEYUum (ORCPT ); Wed, 25 May 2016 16:50:42 -0400 Date: Wed, 25 May 2016 13:50:39 -0700 (PDT) Message-Id: <20160525.135039.244098606649448826.davem@davemloft.net> To: arnd@arndb.de Cc: ynorov@caviumnetworks.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-arch@vger.kernel.org, linux-s390@vger.kernel.org, libc-alpha@sourceware.org, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, pinskia@gmail.com, broonie@kernel.org, joseph@codesourcery.com, christoph.muellner@theobroma-systems.com, bamvor.zhangjian@huawei.com, szabolcs.nagy@arm.com, klimov.linux@gmail.com, Nathan_Lynch@mentor.com, agraf@suse.de, Prasun.Kapoor@caviumnetworks.com, kilobyte@angband.pl, geert@linux-m68k.org, philipp.tomsich@theobroma-systems.com Subject: Re: [PATCH 01/23] all: syscall wrappers: add documentation From: David Miller In-Reply-To: <6293194.tGy03QJ9ME@wuerfel> References: <20160525200327.GA22395@yury-N73SV> <20160525.132145.1271448744307448631.davem@davemloft.net> <6293194.tGy03QJ9ME@wuerfel> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 25 May 2016 13:50:41 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann Date: Wed, 25 May 2016 22:47:33 +0200 > If we use the normal calling conventions, we could remove these overrides > along with the respective special-case handling in glibc. None of them > look particularly performance-sensitive, but I could be wrong there. You could set the lowest bit in the system call entry pointer to indicate the upper-half clears should be elided. From mboxrd@z Thu Jan 1 00:00:00 1970 From: davem@davemloft.net (David Miller) Date: Wed, 25 May 2016 13:50:39 -0700 (PDT) Subject: [PATCH 01/23] all: syscall wrappers: add documentation In-Reply-To: <6293194.tGy03QJ9ME@wuerfel> References: <20160525200327.GA22395@yury-N73SV> <20160525.132145.1271448744307448631.davem@davemloft.net> <6293194.tGy03QJ9ME@wuerfel> Message-ID: <20160525.135039.244098606649448826.davem@davemloft.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org From: Arnd Bergmann Date: Wed, 25 May 2016 22:47:33 +0200 > If we use the normal calling conventions, we could remove these overrides > along with the respective special-case handling in glibc. None of them > look particularly performance-sensitive, but I could be wrong there. You could set the lowest bit in the system call entry pointer to indicate the upper-half clears should be elided.