This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Fri Apr 26 09:04:46 2024 >From mailfetcher Wed Dec 2 17:32:44 2020 Envelope-to: lkml@grols.ch Delivery-date: Wed, 02 Dec 2020 17:31:55 +0100 Received: from stout.grols.ch [195.201.141.146] by 72459556e3a9 with IMAP (fetchmail-6.3.26) for (single-drop); Wed, 02 Dec 2020 17:32:44 +0100 (CET) Received: from vger.kernel.org ([23.128.96.18]) by stout.grols.ch with esmtp (Exim 4.89) (envelope-from ) id 1kkV2o-00030n-Uq for lkml@grols.ch; Wed, 02 Dec 2020 17:31:55 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389121AbgLBQbK (ORCPT ); Wed, 2 Dec 2020 11:31:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389127AbgLBQbI (ORCPT ); Wed, 2 Dec 2020 11 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 511CEC061A4C for ; Wed, 2 Dec 2020 08:30:00 -0800 (PST) Received: by mail-qv1-xf43.google.com with SMTP id 62so950171qva.11 for ; Wed, 02 Dec 2020 08:30:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=w4g3S+xlvIrCO+/FOV5OgRZ1thWmRnYhNOzF2Xs2/ X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=w4g3S+xlvI X-Gm-Message-State: AOAM533eFjDmNpw2mQfPqYikKfIKRR9Ccpz+Tv1Xy4SRnLiedQSINq82 wud4fIOOrFvZkpzNo/Xg6hH4BQ== X-Google-Smtp-Source: ABdhPJwrq09bfNPIrJ1rBBIxaEY6e7dgZTuxYSKii2fZiyNDBHOMOn0rKKInR7tVkslrutd4L2h9dA== X-Received: by 2002:a0c:abc8:: with SMTP id k8mr3597913qvb.14.1606926599556; Wed, 02 Dec 2020 08:29:59 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-156-34-48-30.dhcp-dynamic.fibreop.ns.bellaliant.net. [156.34.48.30]) by smtp.gmail.com with ESMTPSA id s130sm1398639qka.91.2020.12.02.08.29.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); We Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1kkV0w-0056jV-4Q; Wed, 02 Dec 2020 12:29:58 -0400 Date: Wed, 2 Dec 2020 12:29:58 -0400 From: Jason Gunthorpe To: Pavel Tatashin Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, vbabka@suse.cz, mhocko@suse.com, david@redhat.com, osalvador@suse.de, dan.j.williams@intel.com, sashal@kernel.org, tyhicks@linux.microsoft.com, i Subject: Re: [PATCH 1/6] mm/gup: perform check_dax_vmas only when FS_DAX is enabled Message-Id: <20201202162958.GK5487@ziepe.ca> References: <20201202052330.474592-1-pasha.tatashin@soleen.com> <20201202052330.474592-2-pasha.tatashin@soleen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20201202052330.474592-2-pasha.tatashin@soleen.com> Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org Received-SPF: pass client-ip=23.128.96.18; envelope-from=linux-kernel-owner@vger.kernel.org; helo=vger.kernel.org X-Spam-Score: -3.5 X-Spam-Score-Bar: --- X-Spam-Action: no action X-Spam-Report: Action: no action Symbol: ARC_NA(0.00) Symbol: RCVD_VIA_SMTP_AUTH(0.00) Symbol: R_DKIM_ALLOW(-0.20) Symbol: RCVD_COUNT_FIVE(0.00) Symbol: FROM_HAS_DN(0.00) Symbol: TO_DN_SOME(0.00) Symbol: R_SPF_ALLOW(-0.20) Symbol: PRECEDENCE_BULK(0.00) Symbol: MIME_GOO On Wed, Dec 02, 2020 at 12:23:25AM -0500, Pavel Tatashin wrote: > There is no need to check_dax_vmas() and run through the npage loop of > pinned pages if FS_DAX is not enabled. >=20 > Add a stub check_dax_vmas() function for no-FS_DAX case. >=20 > Signed-off-by: Pavel Tatashin > ---=00 > mm/gup.c | 7 +++++++ > 1 file changed, 7 insertions(+) I have a patch to delete check_dax_vmas that is just waiting on me to figure out how to test with dax. That makes all this ifdefery much simpler Jason