From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752846AbbINI0J (ORCPT ); Mon, 14 Sep 2015 04:26:09 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34098 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751330AbbINI0G (ORCPT ); Mon, 14 Sep 2015 04:26:06 -0400 Date: Mon, 14 Sep 2015 10:26:01 +0200 From: Ingo Molnar To: Andy Lutomirski Cc: Denys Vlasenko , Linus Torvalds , Steven Rostedt , Borislav Petkov , "H. Peter Anvin" , Oleg Nesterov , Frederic Weisbecker , Alexei Starovoitov , Will Drewry , Kees Cook , X86 ML , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 RESEND] x86/asm/entry/32, selftests: Add 'test_syscall_vdso' test Message-ID: <20150914082601.GB9274@gmail.com> References: <1441641385-15937-1-git-send-email-dvlasenk@redhat.com> <55F1D447.6030703@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski wrote: > > (I'm not very comfortable about additional six push/pops > > which are necessary for this to happen. I'm surprised > > maintainers tentatively agreed to that - > > I was grilled and asked to prove with measurements > > that *one* additional push+pop wasn't adding significant overhead). > > I suspect that I need to make the series faster. > > Also, int $0x80 isn't a fast path for any legitimate use case except > Debian, and I would argue that Debian is just buggy. So buggy in the sense of not making use of faster syscalls, right? It won't break in any visible way, correct? So if this heavy int80 syscall use happens even with the latest version of Debian as well then it would be nice to figure out what's wrong there, and provide an optimization patch to their libc guys or so - to make sure we fully understand the problem. Thanks, Ingo