Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1435195pxb; Fri, 20 Aug 2021 05:41:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1bA/ZyXK4Lv1oXZ8CIS1FHfJosBVqxA8/7A67LZ0x+5+VV3sdePd92Vk9TyTUoT5LVXP3 X-Received: by 2002:a92:7108:: with SMTP id m8mr8520738ilc.238.1629463273225; Fri, 20 Aug 2021 05:41:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629463273; cv=none; d=google.com; s=arc-20160816; b=L2lx1EcEnxumPeGijmwsjJV8BToKScPCSfKETdI8V4rDPBA08xRQJQKf1r0ymOtN9+ u/tKdpFhvAcFp98x2MslIW1llwEz1fpylsJ0xWoTj4OiPF6gBcPrWTtzPcdg0RdqIFr2 Zh8jHT8ZgQO4w1/K740DOkUu+xZFojDz4zmOOqV8Y3XpVmr0ONcMnej7ce8jUdvgMudY md9W1T76Ujkb/fDAmXifUvCe8p88xMHzSSNX8j4m9/EJsWxnkC7VBsZZUgSpPHNP4kI3 kqMPojQdBFmU/idsea8Z685UCcHmwYwRTqWuuvqqRv3ol6Q1wKBPqzOwWR6/izM5LkhT iGUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=FT/cEXT78E0v/fADspRS3Dt628qen52NCPgAiGpU71s=; b=mbjPgpQquCU30NJvLmH5FeQpKQQ2Izhtr6D3gdrbTtdPhdviJymYGztIhfqqYhZnWc xc7Bx2b4U94eIMYDeI77Q0hvhv2BYSHlKPG/Y2YXJPePhF6COildz5I17mW4GVeOr1wO wLIgxH7tgTTEUc0z7LKsufAlLZy404+5Pt5bZLLZvGEzpmWqipJ4ObZPYkX9RrXOs5JA WUbI8NtAbT90VZ6OrphSp12FVgdo6TQHBKe/RmSYMYFQoz9yQ/Cs+iuBZoyj2NPkB5NV T6Itp4gc/M7umGKW3UcpWVb8G02GXgGfg+auB9W/vMZFgEbDpA+CeSoUY0ga6ujgQCtV fE3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v17si6339853iln.134.2021.08.20.05.41.00; Fri, 20 Aug 2021 05:41:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240260AbhHTMkt (ORCPT + 99 others); Fri, 20 Aug 2021 08:40:49 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:36990 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbhHTMks (ORCPT ); Fri, 20 Aug 2021 08:40:48 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 17KCcAgu024415; Fri, 20 Aug 2021 14:38:10 +0200 Date: Fri, 20 Aug 2021 14:38:10 +0200 From: Willy Tarreau To: Jeff Layton Cc: Amir Goldstein , Linus Torvalds , "Eric W. Biederman" , Matthew Wilcox , Andy Lutomirski , David Laight , David Hildenbrand , Linux Kernel Mailing List , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Al Viro , Alexey Dobriyan , Steven Rostedt , "Peter Zijlstra (Intel)" , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes , Kees Cook , Greg Ungerer , Geert Uytterhoeven , Mike Rapoport , Vlastimil Babka , Vincenzo Frascino , Chinwen Chang , Michel Lespinasse , Catalin Marinas , Huang Ying , Jann Horn , Feng Tang , Kevin Brodsky , Michael Ellerman , Shawn Anastasio , Steven Price , Nicholas Piggin , Christian Brauner , Jens Axboe , Gabriel Krisman Bertazi , Peter Xu , Suren Baghdasaryan , Shakeel Butt , Marco Elver , Daniel Jordan , Nicolas Viennot , Thomas Cedeno , Collin Fijalkovich , Michal Hocko , Miklos Szeredi , Chengguang Xu , Christian =?iso-8859-1?Q?K=F6nig?= , "linux-unionfs@vger.kernel.org" , Linux API , the arch/x86 maintainers , "" , Linux-MM , Florian Weimer , Michael Kerrisk Subject: Re: Removing Mandatory Locks Message-ID: <20210820123810.GE22171@1wt.eu> References: <87k0kkxbjn.fsf_-_@disp2133> <0c2af732e4e9f74c9d20b09fc4b6cbae40351085.camel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 20, 2021 at 08:27:12AM -0400, Jeff Layton wrote: > I'm fine with any of these approaches if the consensus is that it's too > risky to just remove it. OTOH, I've yet to ever hear of any application > that uses this feature, even in a historical sense. Honestly, I agree. Some have fun of me because I'm often using old stuff, but I don't even remember having used an application that made use of mandatory locking. I remember having enabled it myself in my kernels long ago after discovering its existence in the man pages, just to test it. It doesn't rule out the possibility that it exists somewhere though, but I think that the immediate removal combined with the big fat warning in previous branches should be largely enough to avoid the last minute surprise. Willy