Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7179405imu; Tue, 22 Jan 2019 01:33:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN6GfQqnxlQigTXwf47cu51f4JDrZDL2HZVqjujDSUYKVQoaDKwfSEhh82iFMkfX2mnbdHGd X-Received: by 2002:a62:2781:: with SMTP id n123mr33294430pfn.138.1548149598219; Tue, 22 Jan 2019 01:33:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548149598; cv=none; d=google.com; s=arc-20160816; b=wxsKlBZFs9DTuUYKwuWlxwA1FEQSeI5vpm/90pKO3BPPj5gnKYQSvMXaf3XZsyNGcU FOn33+WkrcaBK1x4gP7N5C2GML/v6Ts6pJqNcYY6y6x4TqhHXIr+XpsIHfkG7YYubxQi a3MV4ago6CLAH8yjxIxcelU8/tm+URinmI5Vc5mPGN8hKsGIFY8T/1SPRqlN5bs/zvKs P4fC84gbEWt0tlg/egIfJeJQFOuEEtcj8LOYSv5n+6Lqfd77lczez8Z0aal88W27vu5X Ze6LaQZEucdMGVx4ZdThW0WswXiwuRjnchNMG/jZh11dhUMqTKMRL/fpdzEqyf5XsYlY ftIg== 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:dkim-signature; bh=87TipmxmLFoyLhevJWO3h2Re5TNBq6ylv92ZG6fH3Ys=; b=JUi7m6SVNUayePgRalGMCXC7msagDXBx1XD1qq9xKxLV34RVnOLTq8CsdE8KXt/fmH zYk0AkulvsaT/haIeqD9ngtgF9g5O5N/+9P5KJyQswUH22mCDn2rlt6FKSqm0l/8U1v5 qAfbea7Uin3n4pFUH81jlVFzAEY6k5WrUCZuKRsLO8W2uHOpTub/U7snHPARF8CeXPvB z0uRR28nlTcWrv5HWC+18DnLB49hr+hNBAix9Jtt3JAa6gpC6f++x49zTVSzHM+XnRPJ pk8VAOCrJDysa047Hqu3jC6vj1dQSJLMRBa599IQa+mdg8ZyR0tHBbE18VlUTLIiWhMl noHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brauner.io header.s=google header.b=HkYybDJN; 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 j7si3967265plb.91.2019.01.22.01.33.02; Tue, 22 Jan 2019 01:33:18 -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; dkim=pass header.i=@brauner.io header.s=google header.b=HkYybDJN; 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 S1727710AbfAVJbw (ORCPT + 99 others); Tue, 22 Jan 2019 04:31:52 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:34818 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727476AbfAVJbv (ORCPT ); Tue, 22 Jan 2019 04:31:51 -0500 Received: by mail-ed1-f67.google.com with SMTP id x30so18758782edx.2 for ; Tue, 22 Jan 2019 01:31:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brauner.io; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=87TipmxmLFoyLhevJWO3h2Re5TNBq6ylv92ZG6fH3Ys=; b=HkYybDJNf47fatjDiC/+43MAu0N8naRHzzlrooj6JtB5ObBnAgSVOqlLr21Cyj6ygM PfsOpOVWKm8prclWJT12dhOC4m5rNa/x49iKPQMLbkXe+JFZVau2as0hfSB5Hwy+UcxK 4ch8qeXhFebwOjtT9jI9ogYpT0JLqiJdlTzeV1534k4MICj/ZorXJqjak/9oUzqtunOs ha0Gdb2SEvOoojwdxS/5myXIxYRCD7TIcLScch+1RALcj4P5q2F05ZovWM82o3hBXomO diixt3Zy8bGiNyy4r6QYnc10L0QZ7XfKFn8AXyyK3TMOn9luq/bXqwfVeJPoTp88X+Pn xobQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=87TipmxmLFoyLhevJWO3h2Re5TNBq6ylv92ZG6fH3Ys=; b=od8EvFW9xV7AtGEeCxsGUu5pUq9QOUdYjWJGUlWaOzpDwyvwPqE1BTlW12TSPTRZVv bMGNWVNHFSoxUerBw9IjZb068QyA9AwfmkK56QMzs8QyQlenhBcNvh+J8rQWkkTXIVJ8 N009wzl/ueo2NXKKYpDf8bvR+LqdaR/n/FYbbNL20IJQLsVhMne0/r6SvgYCD71jCTDW aDrFhhu5TJmepIsxyVZa5k6ity8KBiVfi4JIKqWkm9j+zDpMfgXxmEr8BVZvnQrb6cgy 8JpFW8QKkzkyk/jgRKqgzWjg2PakLz9Hfqq3lDQBSkUo8btZ7Q7Y5vnXoftrLNbAMpry cytA== X-Gm-Message-State: AJcUukcT0meseMbv180C1Tw/0fxUSpO/vMhIPD4wW7CtjEuaFM5CPCXT Fqrau3nTGOoCQYhtAp15YklSlQ== X-Received: by 2002:a50:a246:: with SMTP id 64mr30515705edl.43.1548149508688; Tue, 22 Jan 2019 01:31:48 -0800 (PST) Received: from brauner.io ([2a02:8109:b6bf:f9e4:9473:6b39:afaf:14d4]) by smtp.gmail.com with ESMTPSA id v20-v6sm5180207ejr.46.2019.01.22.01.31.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 22 Jan 2019 01:31:48 -0800 (PST) Date: Tue, 22 Jan 2019 10:31:47 +0100 From: Christian Brauner To: Arnd Bergmann Cc: Jens Axboe , Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , linux-arch Subject: Re: linux-next: manual merge of the pidfd tree with the y2038 tree Message-ID: <20190122093146.kmckcgdbvo2e7v3c@brauner.io> References: <20190121143951.68956db3@canb.auug.org.au> <20190121191306.ifga5aw5atu2vvb7@brauner.io> <20190121202328.rgrv54lybilsvitu@brauner.io> <20190121224811.gbvg22vg4kgg4kbs@brauner.io> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 22, 2019 at 10:26:56AM +0100, Arnd Bergmann wrote: > 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. Great! Will do that today before Stephen does a new merge for -next. > > 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. Sounds good to me. Thanks Arnd! Christian