Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp467275yba; Thu, 16 May 2019 04:01:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqz7kr9rUjs9Q3rsN3NtEWNxxyV3hpyQlG5nMeNx833GdCXvoWeiAnp9c+SlaHIP3J5pCoog X-Received: by 2002:a63:6907:: with SMTP id e7mr7141965pgc.209.1558004492936; Thu, 16 May 2019 04:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558004492; cv=none; d=google.com; s=arc-20160816; b=m5dD6ahtN6GQnxWjn3rGxD7iFrryafYVR4f/8pRmXRdnAg7oSRGwyYr7GWBPrNqioJ AfyU6OYNPrHdEwrUYoF0FWmspxb2Jl/Xif92wrpUzZZf4GNvY4ektPXCqWa4uLTtK8L8 hllWfGvwlzYcCsWDxL0XT/3viLANpB2+UKrfpSxHY04JDjJN0kFCG9IHHh0bf650OO4E 8LRjax5kWtDEJwXtBv8C14d8F8H5Hzg7RfworkGq7eONU2FqMq/88g6nNWiVPtMwb9lc ZF2yTsHLyzzGFsE/AzdwGlOqS26TAQI/C40BC5WkXBuJh04U5RNZTsJf+p07+RJ7XLfI 5Zlg== 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=aCf53hCQoTWRnc+iZ0G/hbKzA1wZVJqGhF/yu3TPIjE=; b=vIkmN1LQh2A3mM0wGZvLaM+lJV6UJr+JYyO7icGHityC1LUKs6f40GPLudsb6VimeB NIzZm4XcA9Bz5eUnqPKevSvN2XqdZ8b9ITe2bFAgUvePcWyDkDlCqyhYXFZQTbtCSFWy Hb09yU+Oh3ZVYrp8Fl1tesB0DI22rpsH9AvGQr36XgVAG57qYIIBs6/YyCUv0oGfBvUh Nfv+W8tjmYCN076sRqJOpon04OqAdg3MJROgymdl0siuKMizDdyPuk4DEL01MLyO2KEw TP/nVLeMdQNK3NLqtSaMxIjcpdoSg9o/chmUUcZeth0HR+HNOXv/oNPtd838QEq4RgeB gGWw== 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 w7si4600081pgr.399.2019.05.16.04.01.17; Thu, 16 May 2019 04:01:32 -0700 (PDT) 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 S1727006AbfEPK5w (ORCPT + 99 others); Thu, 16 May 2019 06:57:52 -0400 Received: from mail-qk1-f196.google.com ([209.85.222.196]:41987 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726660AbfEPK5v (ORCPT ); Thu, 16 May 2019 06:57:51 -0400 Received: by mail-qk1-f196.google.com with SMTP id d4so1917260qkc.9; Thu, 16 May 2019 03:57:51 -0700 (PDT) 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=aCf53hCQoTWRnc+iZ0G/hbKzA1wZVJqGhF/yu3TPIjE=; b=gbZ/qRMDZrPE69UC8+4w1zV6JINvrCpjsLbWcwKwzI8UI3CJNjoenAFYH1N2Vpp4RP gJ0f5NKpKdbmpdSvHH8NLcXXJGLStzulS33eBiDk/hJ0PIZybWi+yDNlV85jkBc+eRSq rsVSeLMI4Dr+8nzyNpEkuXtQ3cfSI8Bh1lF9MK3na8eS+dX2GHsKu8Xf9y1x1mVxfjEF VzMB1DfMI/LjlWj2SqE5sxbsQXP/3C6VMaykTpOTdUfw12voknPi+3n2newXT/9RD2sd GjItkfXxQPZ0Et5IFv1mYiP3Jk6OfvkV4TVh9aOaD52NK6tEaW4S7lSAoXrNPpW8BATD T6KQ== X-Gm-Message-State: APjAAAU3MtrF1KOg1zE2HUIbv0lDqeV8DomIMCeuiBDghMBhlGi/lfku GHe0Sl48zNyCsCFyfcpRMJBW2fGeyNqjOk3DueM= X-Received: by 2002:a37:ac0a:: with SMTP id e10mr37762394qkm.254.1558004270813; Thu, 16 May 2019 03:57:50 -0700 (PDT) MIME-Version: 1.0 References: <20190516085810.31077-1-rpenyaev@suse.de> <20190516085810.31077-14-rpenyaev@suse.de> <41b847c48ccbe0c406bd54c16fbc1bf0@suse.de> In-Reply-To: <41b847c48ccbe0c406bd54c16fbc1bf0@suse.de> From: Arnd Bergmann Date: Thu, 16 May 2019 12:57:34 +0200 Message-ID: Subject: Re: [PATCH v3 13/13] epoll: implement epoll_create2() syscall To: Roman Penyaev Cc: Azat Khuzhin , Andrew Morton , Al Viro , Linus Torvalds , Linux FS-devel Mailing List , Linux Kernel Mailing List 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 Thu, May 16, 2019 at 12:20 PM Roman Penyaev wrote: > > On 2019-05-16 12:03, Arnd Bergmann wrote: > > On Thu, May 16, 2019 at 10:59 AM Roman Penyaev > > wrote: > >> > >> epoll_create2() is needed to accept EPOLL_USERPOLL flags > >> and size, i.e. this patch wires up polling from userspace. > > > > Could you add the system call to all syscall*.tbl files at the same > > time here? > > For all other archs, you mean? Sure. But what is the rule of thumb? > Sometimes people tend to add to the most common x86 and other tables > are left untouched, but then you commit the rest, e.g. > > commit 39036cd2727395c3369b1051005da74059a85317 > Author: Arnd Bergmann > Date: Thu Feb 28 13:59:19 2019 +0100 > > arch: add pidfd and io_uring syscalls everywhere We only recently introduced syscall.tbl files in a common format, which makes it much easier to add new ones. I hope we can do it for all architectures right away from now on. I just noticed that the new mount API assigns six new system calls as well, but did not use the same numbers across architectures. I hope we can still rectify that before -rc1 and use the next available ones (428..433), then yours should be 434 on all architectures, with the exception of arch/alpha. Arnd