Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp514668pxj; Thu, 3 Jun 2021 12:14:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzr8+QC9VJQq7K3N9fUGElwoLFF1EzAhil8Cw27AdS5xHFKdCAADbihGlY6JcbEjOF58hvH X-Received: by 2002:a17:906:1404:: with SMTP id p4mr761752ejc.107.1622747675035; Thu, 03 Jun 2021 12:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622747675; cv=none; d=google.com; s=arc-20160816; b=qKDwcX4C5vaEF2lH486oFhX1qTpZ4NE7Qg3kOL8C5VA1xvS6TjSrwnZU0vuQNF8dNH kNZzZKCk1Pytelgl7gdlIZWc9YC8l4pvPcV/kbBsD/LYAoIwdE1EZ7EbwTlGaVBRwpwx PEDv1gS07Vi/M5cu8wWD5bb8CXooMiIcrZnMiGEdKMClsAeepun4CnYgmmV26IrLqLAJ UO5jmkwkMS6Vycf2ZjykG0+si3/o7zxcePKOt4mdNSiyMjdpLXPTrtN3EMt6lWuiwng5 SkpEFkhT3iJL7LNIcAOA0XHEeXHCizuhig6CPSGOxtFo7VQgkDm7L9xuZ9IgEgDgaJkr xPbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5EDxCagl07bOh/Nv8oABAKO17kN+L9A+RY/dcpJKFLM=; b=PPd58w2ZMqVdP7aQJUk4hQoLhh8QQ2CNg+eMJ4XJWv4+jCS3l5OMzqBjQDWJNB4MqH yIVfsxDIjZKHYIu6n7dHjTYqaEGWNyyP2hBHEyd/3eQCkwEpwkYKQgA1MOUoHOKpoDv6 QsNOGjPf1BtEzGJzF3vo2DnrB0CyFIfZm9v2gACEcprUE3Uz8WlY0TJy/F7seOuwL03j NZsfC/FS2YqGPHQEgnv1stNPZzDKPPahkfaa8PFIgAlLY++stQmD4qRNgPtDB9pmvPOf mfr967WeH6dTpUOks//HhmBAroFbGEredPsCwCt7qgj5WK664nt8/ZSayov51DYr04m/ L/aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=UTljGEGQ; 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 a4si2811114ejs.331.2021.06.03.12.14.00; Thu, 03 Jun 2021 12:14:35 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=UTljGEGQ; 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 S229697AbhFCTOe (ORCPT + 99 others); Thu, 3 Jun 2021 15:14:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhFCTOe (ORCPT ); Thu, 3 Jun 2021 15:14:34 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9220CC06174A for ; Thu, 3 Jun 2021 12:12:32 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id f30so10475734lfj.1 for ; Thu, 03 Jun 2021 12:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5EDxCagl07bOh/Nv8oABAKO17kN+L9A+RY/dcpJKFLM=; b=UTljGEGQNYuxNXIn0v7XzxieUWCtnIsxzkRCecivfei0dzW5YoDgn0l5XlRffuAtRp 9lRSLYrp3aHu78VwRpo49Xzw5AfLWYiO+J5j4JygA2mmEuyDFb9pNuPPxy5EAwi8/b+z 1pN+oUWFghkmkRW6aHl9ejWgOUmra/8PfgAXw= 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=5EDxCagl07bOh/Nv8oABAKO17kN+L9A+RY/dcpJKFLM=; b=Z3iPbI4nnYv+SxgoVAUGqL/KpBmufu0wjA6nIJQdjFDsklytLk+3HDnbiOBw13PVYv FHRmq+UC4DNKDqz/WH17G/qf2qTfKHhqPoWevYkQ5DqMgQQTA5T/w9CRq23axn2qV8VO QNVEfHXjBmRPjSuqHuNWzaia3KSQ+FRw5GSrM5Kxx/2h6lNAoF3HSjYB+M+aX++qz8Si ZiP/gxO/YnIcj1aPYsUUWu74pZqXrqcbeYRo5QnmMpbR/e+H/YVTSMHqW5/+0rpXVnAE cri2JKfCRfbKJWlDn1ek5qlGGPX+dh9HOJqscbZ/iOk7sMnRiMrj+Mr/qnmFvxLP7jaK VT6Q== X-Gm-Message-State: AOAM53254e0q1xE8QqlVBiZ0Qc+IKGZKCAhwyITNCGLI2AKoBUDIg2zI 54L9GsGlit9PGhH+fRKuuhXTyi5ky8/XYkTo X-Received: by 2002:ac2:5631:: with SMTP id b17mr264397lff.515.1622747550747; Thu, 03 Jun 2021 12:12:30 -0700 (PDT) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com. [209.85.167.49]) by smtp.gmail.com with ESMTPSA id c7sm398492lfv.27.2021.06.03.12.12.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jun 2021 12:12:30 -0700 (PDT) Received: by mail-lf1-f49.google.com with SMTP id i9so10392505lfe.13 for ; Thu, 03 Jun 2021 12:12:30 -0700 (PDT) X-Received: by 2002:a19:7d04:: with SMTP id y4mr260545lfc.201.1622747549926; Thu, 03 Jun 2021 12:12:29 -0700 (PDT) MIME-Version: 1.0 References: <1622589753-9206-1-git-send-email-mlin@kernel.org> <1622589753-9206-3-git-send-email-mlin@kernel.org> <79a27014-5450-1345-9eea-12fc9ae25777@kernel.org> In-Reply-To: From: Linus Torvalds Date: Thu, 3 Jun 2021 12:12:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] mm: adds NOSIGBUS extension for out-of-band shmem read To: Hugh Dickins Cc: Ming Lin , Simon Ser , Linux-MM , Linux Kernel Mailing List , linux-fsdevel , Linux API Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 3, 2021 at 12:07 PM Hugh Dickins wrote: > > But the point that we've arrived at, that I'm actually now fairly > happy with, is do *not* permit MAP_NOSIGBUS on MAP_SHARED mappings. Yeah, if that's sufficient, then that original patch should just work as-is. But there was some reason why people didn't like that patch originally, and I think it was literally about how it only worked on private mappings (the "we don't have a flag for it in the vm_flags" part was just a small detail. I guess that objection ended up changing over time. Linus