Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1687053pxb; Wed, 9 Feb 2022 02:11:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVH4fewHBS6vYwJRbYpWyXB+sxAfCvOEO2dFh+eCtezOFsf7S9Vbe8UsN9PumrfPhFparH X-Received: by 2002:a62:1913:: with SMTP id 19mr1586718pfz.29.1644401508944; Wed, 09 Feb 2022 02:11:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644401508; cv=none; d=google.com; s=arc-20160816; b=AzZxYDYM+mU0kD9i9G0DoShqRea6mbZGrRMJIbGfdbjLYhXK2koK8VB/mk91lBG7+i u7AEMn+eWxopK9wXi2LP0zcIGzyuXQ/xJD8A8u9mo7kL6qGfqFTJJ69KxdRdSdo33RLG lH+tL1iuvzYzhItKXzcus56SFfozpfhbCD2yZLXoXnO6TZWNA1blbTd2heKVqyULx3MM nlgz9IFT3ZkxYtdSeoI1aQ+mWUftaLhPjekHvFev3WsdgfocshRGNvJOswTZIVAJ30/j gDOqEpURogZXDL8Rc+A1Szv3VJagHDsHnTbZsUKpLklcPG7mXvwLEKGiB4pm+pk7K5KQ NyUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yHQiDHxA3qZlcWTxLN1MgZypNnbjTwUZO2QoeiWP/cI=; b=T4/NjZdCWi9RgR9QU4Pgpf5Ccwk/22ts+javDOqTE2cl1lcmk5zwzA1h2lHnVeJFPo 1vnUl4ojXEs84HQkSjVOoRhVH6nVzlWpTsFFg5jlw320aRA7aCBm2jtrIH1RS1nzt3Mn b+B94quxU3zdyJwLGjprHqe6NMvp49/oeuircrR6qiBZ8DmSdgIndx8gbQV72mdFUuE8 1uxHH2KQFT1QPDqB/p4va3P/miEhwCxeqbssD29bPhEqFIMQrA8Sr1srOMCnWAHhZjs7 QeZ3ArOysf3fqgAOfwo69ZQaRf5IeqmaTceTSS0qOO+E2YCAXRZH1rJg3cMDYuFK6N17 eLVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=WalR+vjd; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id 81si402011pgb.678.2022.02.09.02.11.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:11:48 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=WalR+vjd; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 24FB7E0888EF; Wed, 9 Feb 2022 01:15:41 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238964AbiBGT1E (ORCPT + 99 others); Mon, 7 Feb 2022 14:27:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237098AbiBGTWp (ORCPT ); Mon, 7 Feb 2022 14:22:45 -0500 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 071E0C0401E0 for ; Mon, 7 Feb 2022 11:22:44 -0800 (PST) Received: by mail-qt1-x834.google.com with SMTP id t17so12684149qto.1 for ; Mon, 07 Feb 2022 11:22:43 -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:in-reply-to; bh=yHQiDHxA3qZlcWTxLN1MgZypNnbjTwUZO2QoeiWP/cI=; b=WalR+vjdCg+8zPlO5aZ1ywuN+woRsi3gerM9e8um5R75M05o/0A4tTPV0sDoS0iLf7 MI5Ayh/aUjA3lzGk4knlGcpvrjJkTAzgzCaIVUlu2cLGGSbDhpJ/GrhJhUdc2HnXtmRK stuNg7sUYxLt5HQjP/PwyCP9ZRninXNxW8lX4+8vi6VkUSLgg5BY3Jxg39rH3WH2BDNx g9rpWqR/RtcR0wf2poNmSVgkhRnSCPEG3oCgynxbJlts+OBBSOpC9atYeDDQCpJbBHmV OdyYF8TiYTFFifPNOFO5hE7XJgkPbqKroSw//vj0hDKtL6BLQKT8a9/Jd8uxBZMUHGVb 3Hgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=yHQiDHxA3qZlcWTxLN1MgZypNnbjTwUZO2QoeiWP/cI=; b=j5LqV3SkSS3gVr/BsFnco7OD3IYXDPLM2V+CwTrRSGZCc+lY7Ax7loALESe0AEQVSf JM2lfif0+ua15qfkuvoAzvecMveM92FkHIDN7AVwk+Yo4ffpEGnRebzLn+Zh3ByrozzC SekPMtQyLPRfVd7n+E91otlzUrbHg3PFIUwstNPe3DjluCYn5Gy+bl8n+uw5/31CxNBx MSg6szMoVGAeI3TNOWWbbYo/iMqx/710gyX3TOhthCa2UjvFQ6NF+9sGqBkHjibQ95Ba KZlfKIX2VEwBpIdsoiKay9P98wyzoPte4WUcY2ULxqym+FkNnAJMLvbrfTyEP6ShNpYg 4VLw== X-Gm-Message-State: AOAM53370GW6pofJ12Dyc4NXQEa83K0gXWg2tguOSt/MbcLU0E4rGfYk E4jM2/JTp03Xu5THGt+cvH3JVQ== X-Received: by 2002:a05:622a:1303:: with SMTP id v3mr740294qtk.294.1644261763197; Mon, 07 Feb 2022 11:22:43 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-113-129.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.129]) by smtp.gmail.com with ESMTPSA id y5sm5930001qkp.37.2022.02.07.11.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Feb 2022 11:22:42 -0800 (PST) Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1nH9b0-000HrC-2F; Mon, 07 Feb 2022 15:22:42 -0400 Date: Mon, 7 Feb 2022 15:22:42 -0400 From: Jason Gunthorpe To: Christoph Hellwig Cc: Andrew Morton , Dan Williams , Felix Kuehling , Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Alistair Popple , Logan Gunthorpe , Ralph Campbell , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, nvdimm@lists.linux.dev, linux-mm@kvack.org Subject: Re: [PATCH 1/8] mm: remove a pointless CONFIG_ZONE_DEVICE check in memremap_pages Message-ID: <20220207192242.GC49147@ziepe.ca> References: <20220207063249.1833066-1-hch@lst.de> <20220207063249.1833066-2-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207063249.1833066-2-hch@lst.de> X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 07, 2022 at 07:32:42AM +0100, Christoph Hellwig wrote: > memremap.c is only built when CONFIG_ZONE_DEVICE is set, so remove > the superflous extra check. > > Signed-off-by: Christoph Hellwig > --- > mm/memremap.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Reviewed-by: Jason Gunthorpe Jason