Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1019511imu; Tue, 20 Nov 2018 10:18:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/UemCci9zFXYTSe+r6r7pLMMM+AfCT258u49w839/1+u0pp2FlNsQx9y2MX38IxLSt3R1j4 X-Received: by 2002:a63:e156:: with SMTP id h22mr2884467pgk.255.1542737912402; Tue, 20 Nov 2018 10:18:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542737912; cv=none; d=google.com; s=arc-20160816; b=L8arNF1gtnatrET+hivM1P/TdaNV/M0a40eHG0OK8GDrS+ugiGv2BZ9mnzPTDMmDFV DCXJVE/GG/Z6bIfJmAXh5EWMUQGAsLRrBTFOHZ2sFntQyTIsCXBFN2E2tpvKJZRns9/h /D5DFAdzenadNf8qdruLvNVpW291UUSVcljG4/sdB1YxRUyp5ZpAilMYyrVlR16fS4W5 x9ehm8sLwpBeY4x/qjPTSCaLPO3ipL4PjWgcxJ9FUyKSiZSo7GSw2h4Yteje6dVvLtoq BX3Lc/9vd1U5Qg91Vgu/A+2+8jfWanvzWZ449LOgky8h/OVQTj/4h3Tqfdekh4mopIu6 XhWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=I6/QoQymTMw8mGrgk2QvhoxGi/hC+g9O5QBf8ncNMsY=; b=HYkP4j0th5EaWXrkZFFZGbMPeUD3wgkYTd4VpSj7D94SESaukrc44DUeLd+4dDadVz 6MJ2OKeom0HSHOCNhjr/V9mvD7Q/rTX/Xofl1A2M5rCLpnsw0ZGR0yO05Ojkwx7uy0JD k/I5jRvXnl6dS0EwHt8csEcOz05mojkNbV4u0LWBuGG6dawHxFH2jXwyj4y8q4A6oUgC ksVP30ixIGIqvrjkU1FwwSoeedMiOMuPcqD+GZI8+6f1GipbMqjsj9If97asB3w4KF9r j6MgwqsMNoH6ktnCS2utWuP4tY0Q/HrhMrwwUaLvOND8SD6z9NNO/UlhmYOCeLoJRTtr fTcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 126si11743717pff.77.2018.11.20.10.18.07; Tue, 20 Nov 2018 10:18:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728107AbeKUEiJ (ORCPT + 99 others); Tue, 20 Nov 2018 23:38:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:12802 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726062AbeKUEiJ (ORCPT ); Tue, 20 Nov 2018 23:38:09 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 176E958E22; Tue, 20 Nov 2018 18:07:45 +0000 (UTC) Received: from treble (ovpn-122-214.rdu2.redhat.com [10.10.122.214]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8FE451062220; Tue, 20 Nov 2018 18:07:43 +0000 (UTC) Date: Tue, 20 Nov 2018 12:07:41 -0600 From: Josh Poimboeuf To: Andy Lutomirski Cc: Florian Weimer , X86 ML , LKML , Borislav Petkov , Peter Zijlstra , Tycho Andersen , Daniel Colascione , Carlos O'Donell , Rich Felker , Adhemerval Zanella Subject: Re: Cleaning up numbering for new x86 syscalls? Message-ID: <20181120180741.iu6bcjprjxeqllem@treble> References: <87efbggly5.fsf@oldenburg.str.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 20 Nov 2018 18:07:45 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 20, 2018 at 07:23:09AM -0800, Andy Lutomirski wrote: > On Tue, Nov 20, 2018 at 1:03 AM Florian Weimer wrote: > > > > * Andy Lutomirski: > > > > > 5. Adjust the scripts so that we only have to wire up new syscalls > > > once. They'll have a nr above 1024, and they'll have the same nr on > > > all x86 variants. > > > > Is there a sufficiently sized gap on all other architectures as well? > > The restriction to the x86 variants seems arbitrary to me. > > > > Fair point. We have this shiny "generic" syscall list. Maybe we can > get x86 synced up with it for new syscalls. I heard this discussed at Plumbers. There was a proposal to use the same syscall numbers across architectures. Also, when adding new generic syscalls, they want all arches to be wired up at the same time. https://linuxplumbersconf.org/event/2/contributions/149/attachments/129/161/Ideas_to_improve_glibc_and_Kernel_interaction.pdf Adding Adhemerval to CC. -- Josh