Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7175703imu; Tue, 22 Jan 2019 01:29:09 -0800 (PST) X-Google-Smtp-Source: ALg8bN7Mx77ok37TzPsHFmHLV4LMSTfxhoREDL7SF0ujAAcKFvmZZNMMzZEryEXQd18EnoeUxxMi X-Received: by 2002:a17:902:a5ca:: with SMTP id t10mr33320011plq.139.1548149349511; Tue, 22 Jan 2019 01:29:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548149349; cv=none; d=google.com; s=arc-20160816; b=Amliz15iNKMJu5bfeBBMT0IC97TFnP6p2H42lOOE+LPEgbwXWTTT4cQ5x8VFhr3QKw 5aZPoF4cHIWvm/3aZI5307Bfg3xvZ4epRhnl0hGT4MPjHR2lhQlVje8pOQd7iNnLgWy2 89bVgxqkpFgcp+qpO2smUHNXKBPQRzWS0msw4o9l2VnAeg4naWjRPy6U84diyDeBbuX2 Zi27XsPoe0rXvDJnKejrHt+IxhPM48E3Q15Xt5HM0f0QZZVFR53DHNx4ij7goamY+sPK pOubZRPqnEWOmleIMu/pVXC60YnRxcUXZGSWZm4IIfK+XuGUeiSySAvrJ0SsVfvrEbzn BHpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=4HYXq5VhofMlSBRLNsKcOTbVg6tVURqWBHJ5+9PCfEg=; b=Lkz+QrWRCygBtMVLRk20vih63xZ1EF/U4MpOOefMLP3aCzlinx8+jEMv7NBboGYDvw Jink1VLFIpypEasaW8T7nciVulmMz9t+2Eb4dGgzcH78qkwS+8wLFCxHSMxEQt3PETzM peGX+jG8b4UiC+doc4CrUrOsJNTiY8OByxf/UyxqHOHbOk2WLdCxzV/oiL/H1RXS+6dI PJJStKIK3/daDfJspGZsS/xw/QhWWDIQSdmcQYeLf7gmRxbQXmzajoSaI3i7zZpPedYz mdL7ErWn1KUU+kJKeVudJEKoS4XFT9mRFD11Ns5KG8hK69Ui22aqFqHBhHnX48T+xVMw 7tiw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r1si3555172plb.330.2019.01.22.01.28.54; Tue, 22 Jan 2019 01:29:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727912AbfAVJ1O (ORCPT + 99 others); Tue, 22 Jan 2019 04:27:14 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:38942 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727824AbfAVJ1N (ORCPT ); Tue, 22 Jan 2019 04:27:13 -0500 Received: by mail-qk1-f196.google.com with SMTP id c21so13855834qkl.6; Tue, 22 Jan 2019 01:27:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4HYXq5VhofMlSBRLNsKcOTbVg6tVURqWBHJ5+9PCfEg=; b=o8UC3Y7VO/J6n5d+n4XkM5Osrmqzt2q291j681yh9OeN6uYi02Z5z7jKrnGSAWrgy/ ZEVM1IprXx5YC9eA1NcEieQkO7/ztAItZRCj4zJcbANAIoHlGqIv+LhNcMfpiloLcMML SU57YUofy+QsXFU0yj/vFHMKq36qUjLeWwVybXd7FuZPH9p6/DI4clWxh9cvLudcjY0A 8DaKVXE953bhlAGW22B3ndteHKrfzk6Ra2iB8fCbmcpcHA9FUiDiwRqGlxUEZehDz3JJ eodrcfblOD+xhFXgnw9jXQ3UpvEpS/gkeiCZV7hFSpOiYbcADpNGRGrIcbdCsOj9CLQB U85g== X-Gm-Message-State: AJcUukdV2a6A4AC6PJolmT22lYGbxx9RkqqLgcJMbxNIsDfJ8s9YPoT1 8GOsFExcDyuWLWJHja84OZtOd4rIv5J/VhTyreEzl6d/ X-Received: by 2002:ae9:d8c2:: with SMTP id u185mr26312515qkf.107.1548149232702; Tue, 22 Jan 2019 01:27:12 -0800 (PST) MIME-Version: 1.0 References: <20190121143951.68956db3@canb.auug.org.au> <20190121191306.ifga5aw5atu2vvb7@brauner.io> <20190121202328.rgrv54lybilsvitu@brauner.io> <20190121224811.gbvg22vg4kgg4kbs@brauner.io> In-Reply-To: <20190121224811.gbvg22vg4kgg4kbs@brauner.io> From: Arnd Bergmann Date: Tue, 22 Jan 2019 10:26:56 +0100 Message-ID: Subject: Re: linux-next: manual merge of the pidfd tree with the y2038 tree To: Christian Brauner Cc: Jens Axboe , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-arch Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 21, 2019 at 11:48 PM Christian Brauner wrote: > > On Mon, Jan 21, 2019 at 03:44:17PM -0700, Jens Axboe wrote: > > On 1/21/19 1:23 PM, Christian Brauner wrote: > > > On Mon, Jan 21, 2019 at 09:15:27PM +0100, Arnd Bergmann wrote: > > >> On Mon, Jan 21, 2019 at 8:13 PM Christian Brauner wrote: > > >>> On Mon, Jan 21, 2019 at 06:16:22PM +0100, Arnd Bergmann wrote: > > >>>> On Mon, Jan 21, 2019 at 4:40 AM Stephen Rothwell wrote: > > >>> > > >>> I plan on sending the pidfd branch with the new pidfd_send_signal() > > >>> syscall for the 5.1 window. Should we somehow coordinate so that our > > >>> branches don't conflict? Any suggestions? > > >> > > >> A conflict can't be avoided, but if you pick system call number 427 > > >> for pidfd_send_signal, and Jens picks numbers 424 through 426 for > > > > > > That sounds good to me. Since it's only one syscall for the pidfd branch > > > is there anything that speaks against me using 424? Given that the other > > > patchset has 4 new syscalls. :) > > > Jens, any objections? > > > > I'm fine with either one, I'll have to renumber in any case. But it's 3 > > new syscalls (424, 425, 426), not 4. > > > > Arnd, what's the best way to make this switch now, in my tree? Would be > > Yeah, I'd like to know that as well. > > > great if I didn't have to change it again once I make the change. I'd suggest that you each just take the numbers we talked about and add them in your respective git trees, at the end of the current tables. Stephen and Linus can then do a trivial add/add merge between the three trees that does not involve changing any of the lines besides keeping them in the right order. The result should then be == arch/x86/entry/syscalls/syscall_32.tbl 422 i386 futex_time64 sys_futex __ia32_sys_futex 423 i386 sched_rr_get_interval_time64 sys_sched_rr_get_interval __ia32_sys_sched_rr_get_interval 424 i386 pidfd_send_signal sys_pidfd_send_signal __ia32_sys_pidfd_send_signal 425 i386 io_uring_setup sys_io_uring_setup __ia32_compat_sys_io_uring_setup 426 i386 io_uring_enter sys_io_uring_enter __ia32_sys_io_uring_enter 427 i386 io_uring_register sys_io_uring_register __ia32_sys_io_uring_register == arch/x86/entry/syscalls/syscall_64.tbl ... 334 common rseq __x64_sys_rseq # don't use numbers 387 through 423, add new calls after the last # 'common' entry 424 common pidfd_send_signal __x64_sys_pidfd_send_signal 425 common io_uring_setup __x64_sys_io_uring_setup 426 common io_uring_enter __x64_sys_io_uring_enter 427 common io_uring_register __x64_sys_io_uring_register # # x32-specific system call numbers start at 512 to avoid cache impact # for native 64-bit operation. The __x32_compat_sys stubs are created # on-the-fly for compat_sys_*() compatibility system calls if X86_X32 # is defined. # 512 x32 rt_sigaction __x32_compat_sys_rt_sigaction ... My hope is that in the future, any new system call will get added to all 16 syscall.tbl files at once, but let's maybe not do this for 5.1 yet, since that only causes more conflicts. I can simply follow up with a patch to add pidfd_send_signal and io_uring_* everywhere during the merge window. Arnd