From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751353AbcCHSlY (ORCPT ); Tue, 8 Mar 2016 13:41:24 -0500 Received: from torg.zytor.com ([198.137.202.12]:39080 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750955AbcCHSlL (ORCPT ); Tue, 8 Mar 2016 13:41:11 -0500 Subject: Re: [PATCH] x86/entry: Improve system call entry comments To: Ingo Molnar References: <3cc149b4ce9a108a092d816c5158808c62c557f0.1457285880.git.luto@kernel.org> <20160307082228.GA11026@gmail.com> <85B7C74C-3B32-44D1-90FE-352097F0A627@zytor.com> <20160308103004.GB5407@gmail.com> Cc: Andy Lutomirski , x86@kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , Oleg Nesterov , Andrew Cooper , Brian Gerst , Linus Torvalds , Andrew Morton , Peter Zijlstra , Thomas Gleixner From: "H. Peter Anvin" Message-ID: <56DF1C98.6030506@zytor.com> Date: Tue, 8 Mar 2016 10:40:24 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160308103004.GB5407@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/08/16 02:30, Ingo Molnar wrote: >>>> + * >>>> + * This is considered a slow path. It is not used by modern libc >>>> + * implementations on modern hardware except during process startup. >>>> + * >> >> Sadly I believe Android still uses int $0x80 in the upstream version. > > I don't see how that fact conflicts with my statement: on 64-bit kernels INT $0x80 > will (of course) work, but will land on another entry point: entry_INT80_compat(), > not entry_INT80_32(). > > On 32-bit kernels the INT $0x80 entry point is entry_INT80_32(). > It doesn't. I was referring to the above quote. Trying to fix that. -hpa