From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E52AEC4338F for ; Tue, 17 Aug 2021 16:50:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC54360FC3 for ; Tue, 17 Aug 2021 16:50:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231786AbhHQQvB (ORCPT ); Tue, 17 Aug 2021 12:51:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:26668 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231538AbhHQQvA (ORCPT ); Tue, 17 Aug 2021 12:51:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629219027; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P8f7fF91cLNQ/eZUDORo18HDZ0NWJEdq4cFwDyEoL7s=; b=THDiVdJqnnU8OtJdG/wJwuJPI/yncYxClSRHn/edQwlzzCkhD97+9gQHDxnEVAi3vaRhVi 33ioC9ErIlEt6pGkolb8QlFkNOWFMT2qQoXpkUnNfs41izf3MbgIQv6CtZsk/XqMRtJkpn ASIrgRhVQInuv8W+YfTbjCj5WW3jDEE= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-80pDySQhOQKva7I9qH6Bcw-1; Tue, 17 Aug 2021 12:50:25 -0400 X-MC-Unique: 80pDySQhOQKva7I9qH6Bcw-1 Received: by mail-wm1-f72.google.com with SMTP id m13-20020a7bcf2d000000b002e6cd9941a9so1168648wmg.1 for ; Tue, 17 Aug 2021 09:50:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=P8f7fF91cLNQ/eZUDORo18HDZ0NWJEdq4cFwDyEoL7s=; b=PulyRc/2AqGN6IWpWk8zPsxcfluLhVBXEdRVynW8qe34Wd4k6KLeKY/lF6qneiqJsA hoqQUY5Y30a3wLmUCJCLKtv3UqXy/mpiSUW1q+O0Y9RL5Gw4KlQKw1ozk5iacBwKcagh f9tl60Cjof4vDJUZW+TTXMc59S1CCrxlrUYgZeQWH4IVR+GZNq8Y4QIIJE52uHxAfuY/ ZTMCI0wR1yJQQTOJ4R7itr2TAYMa+Red4TyZF4T2mnj8WraMREL1WRt6E7vYU9vdbuwl qicwcyiWzYHy97fwSHU2CsdE4kINXoX06sG5Ao1UdtyF5c0VQKihzx3UnPn0+LM6dZfT m3bg== X-Gm-Message-State: AOAM5325Z9JLtNGgnHArZpx0CQSoyJigPY6viOOD7I15JYDgf5+XUfR7 Lhaw81pGcpj1xak76PdoMAH0NRQ5eNW6cZVD5vlV2bSOkI4qiFgszNtCKyzCeS78xo6Z9nnJ9Ic fX1zJ86hMmV6XgmVkyMIx X-Received: by 2002:a7b:c442:: with SMTP id l2mr4347838wmi.131.1629219024790; Tue, 17 Aug 2021 09:50:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKK9RYJJ+cmjTKcg0wST41h29nu8sSNhpqAJJXsGepas3/C+2BUjvnI0Z8CS8mLXjdRCe+aQ== X-Received: by 2002:a7b:c442:: with SMTP id l2mr4347781wmi.131.1629219024617; Tue, 17 Aug 2021 09:50:24 -0700 (PDT) Received: from [192.168.3.132] (p5b0c65c6.dip0.t-ipconnect.de. [91.12.101.198]) by smtp.gmail.com with ESMTPSA id p14sm2588600wmc.16.2021.08.17.09.50.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Aug 2021 09:50:24 -0700 (PDT) Subject: Re: Removing Mandatory Locks To: "Eric W. Biederman" , Matthew Wilcox Cc: Andy Lutomirski , Linus Torvalds , David Laight , 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 , =?UTF-8?Q?Christian_K=c3=b6nig?= , "linux-unionfs@vger.kernel.org" , Linux API , the arch/x86 maintainers , linux-fsdevel@vger.kernel.org, Linux-MM , Florian Weimer , Michael Kerrisk References: <20210812084348.6521-1-david@redhat.com> <87o8a2d0wf.fsf@disp2133> <60db2e61-6b00-44fa-b718-e4361fcc238c@www.fastmail.com> <87lf56bllc.fsf@disp2133> <87eeay8pqx.fsf@disp2133> <5b0d7c1e73ca43ef9ce6665fec6c4d7e@AcuMS.aculab.com> <87h7ft2j68.fsf@disp2133> <87k0kkxbjn.fsf_-_@disp2133> From: David Hildenbrand Organization: Red Hat Message-ID: Date: Tue, 17 Aug 2021 18:50:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <87k0kkxbjn.fsf_-_@disp2133> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On 17.08.21 18:48, Eric W. Biederman wrote: > Matthew Wilcox writes: > >> On Fri, Aug 13, 2021 at 05:49:19PM -0700, Andy Lutomirski wrote: >>> [0] we have mandatory locks, too. Sigh. >> >> I'd love to remove that. Perhaps we could try persuading more of the >> distros to disable the CONFIG option first. > > Yes. The support is disabled in RHEL8. kernel-ark also seems to not set it for Fedora and ARK redhat/configs/common/generic/CONFIG_MANDATORY_FILE_LOCKING:# CONFIG_MANDATORY_FILE_LOCKING is not set -- Thanks, David / dhildenb