Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp235510pxj; Tue, 1 Jun 2021 20:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfGXBhmSWc35XmAmirE97phCZJ1PuEdamN8zJrxHtzvUr+w9+ZJZTjpy5FuY6khmtlo09B X-Received: by 2002:a5d:9d43:: with SMTP id k3mr13405525iok.9.1622604528320; Tue, 01 Jun 2021 20:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622604528; cv=none; d=google.com; s=arc-20160816; b=gHvjOAVqBbL9KHlkNaJSfSWCS2sNZ2LDbbhaH/HaU9R8wsMjgYNh5LPY/A22aRIJKH NJ64esHaPc2Iyc8Lc/EVSDXPabU+Bi6htgSe+21kYhuzLL3FWbYpp63ZjnhqaimOgLtU B8h2zdOUrxOURzDDyctwPYTY+dP615FFU4+1HZ1neun0tWVRqXpGO2VO/s4SPMmHvsal bVp62K2oCtV0W2HpjarsdSUVeewjv7DYfa2uM9VLlQtP6R83PmFCfbDXMtroGBgJQq3a m3T4sInO/iVhNE3REU7kPi1DjzGILv4RrEX/F0vk0bGj52pZT/EaHSDYmGL4WV8olvox GB3Q== 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=78E6NeFKcH8MSEsBcY8Ia9gaTJw+NSrBe9gb2Q2dGXU=; b=phVr1bH8VOb/iTG6cLCjAOo5iArytlQ0S/9BdGBiAmAE9pGL78lerJEJ6fNiE+8ulu Arw2apbhpUrKUp8S86iUKC90awQfTgq52kPxxbhYd0GRzoTHmEP6KIIHbBypYihzOA/x UINjm9lxZJl3TzDLk5hqWIxlrvUP1SFYhLZG9VbHspAJDCHOcIHTzqgJ5SEQjTVMf3dO Utc90P7gbjck3Y2vg9bLuFxaHB+jyFJlgasmcEwaXgZ8HlZ0RS3eZ4CK+U4CMjNZJUBM 3bwsRTXC8Mi/vFDvBmo6FGc94fYBUOLqB2RXy3ucaAdtWS0KvdpxA/BoECFrfoZmAoZR /ZoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=KgV8JLk9; 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 i18si20468105jaj.86.2021.06.01.20.28.18; Tue, 01 Jun 2021 20:28:48 -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=KgV8JLk9; 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 S229615AbhFBASL (ORCPT + 99 others); Tue, 1 Jun 2021 20:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229586AbhFBASK (ORCPT ); Tue, 1 Jun 2021 20:18:10 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52B60C061574 for ; Tue, 1 Jun 2021 17:16:27 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id f11so514048lfq.4 for ; Tue, 01 Jun 2021 17:16:27 -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=78E6NeFKcH8MSEsBcY8Ia9gaTJw+NSrBe9gb2Q2dGXU=; b=KgV8JLk9OZeIr9xXubuaCOwIYB48/EcV0RA9tYYQILr3jxIqTQpsPYOs+sD4eJmsxk lk8YcXMZHBMNQrsqe7Bk4oH5L6NBC/0E8b5MToiLw6umt6moJbtqlrVAik3SlkR/4SLt bIqUM9GxeyML5v81eUzQTXLO/OWJA6oy7bzSA= 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=78E6NeFKcH8MSEsBcY8Ia9gaTJw+NSrBe9gb2Q2dGXU=; b=swdiHPXY6+5QEVJEZjJFpUqBZ2a2f3+5DdFN8CRRgsTqkqbqlPHeJ/0i/lj0O1uizm /lhjXW9Uw74rnxLehLu7/tCnqMY2hzjDkMDp5W0ZCrrkvlPzugkn38Tb+bPX8gAZ0bXL jytN/sMYEKlU2qrAc/MQP4nyz6pYXgVITJTAnEY56Y/ttfWvuX3hyBlRCG21YeCS/OF/ 9L5Up7QC3yIF1HelxddL2iUNzzLzcv16RtcBEZyVCMYgzDudeuYU8ZtibpQR+ygRdAm1 fdifofCTfpEtmagOykjFpwjloVfxiEVXTTpR5ynqLsORtyYOEy8IZcSpuuYwVPCUCtqB Ew3Q== X-Gm-Message-State: AOAM5334jvpET2Yw4YrRO0+Hc+wsLHDjXPOYpyfCFdiW+XfvhwCgc99+ q6Pp+Ervnp+hM3fPGKkdQg4ky0AWZIFMsZMSp0g= X-Received: by 2002:ac2:554d:: with SMTP id l13mr16138678lfk.228.1622592985495; Tue, 01 Jun 2021 17:16:25 -0700 (PDT) Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com. [209.85.208.173]) by smtp.gmail.com with ESMTPSA id n15sm1821220lft.169.2021.06.01.17.16.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Jun 2021 17:16:24 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id 131so306552ljj.3 for ; Tue, 01 Jun 2021 17:16:24 -0700 (PDT) X-Received: by 2002:a05:651c:1311:: with SMTP id u17mr22578068lja.48.1622592983882; Tue, 01 Jun 2021 17:16:23 -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> In-Reply-To: <1622589753-9206-3-git-send-email-mlin@kernel.org> From: Linus Torvalds Date: Tue, 1 Jun 2021 14:16:08 -1000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/2] mm: adds NOSIGBUS extension for out-of-band shmem read To: Ming Lin Cc: Hugh Dickins , Simon Ser , Linux-MM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series passes my "looks fine, is simple and straightforward" test. One nit: On Tue, Jun 1, 2021 at 1:22 PM Ming Lin wrote: > > + error = vm_insert_page(vma, (unsigned long)vmf->address, > + ZERO_PAGE(0)); On architectures where this matters - bad virtual caches - it would be better to use ZERO_PAGE(vmf->address). It doesn't make a difference on any sane architecture, but it's the RightThing(tm) to do. Linus