Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1689031pxb; Wed, 9 Feb 2022 02:15:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzHe8gAzsLzTgHWMlUFyuYLXi3IVtxd4kqthUwbw+nbqI8R13yxOrSJ9WefWTCU1f2gM7n8 X-Received: by 2002:a17:902:8602:: with SMTP id f2mr1694771plo.36.1644401706450; Wed, 09 Feb 2022 02:15:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644401706; cv=none; d=google.com; s=arc-20160816; b=ntGb3fZR6v+7Wc3RSaDGHxjmJl2N+JpsZIP/K1WjkHWL2f+qYNihI/0sIcHqTwxjH6 eo7scnOVPzmnLU+zAnNjpy7bPOe4oXGgyn7ku8M7RlYUfw+KgmQoPGtiQfNpyQ6+4Qyd HDU69Sm5q0liVRxE7qGUsgqLQw7nYid6phoyGWj+ICvj3YfFDHzrZB/9YZmUt3zvUXZT iHaB5sjbghDhC1pQp2HhG0wsOqvwh7Y1b09Y7bA6shsi2MX81d1Irs2uBDT1sfFR69vb YYpp3X2vkVfqysNK4oIba6vC21+kXvqrN1ZvAGKIpjICQ3xls+lrvJwkl2rHQ1/LmQEC i8zg== 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=lrJ/uUGCKgoKFH52TnhTE0iJcbWnNbC2//ZX4wls2Dw=; b=DL8eCT8/GNYnRvldE43Yf4Yrw42Cgl+zFPRn5tDAimuXPV9P80XKz9Z5iJGHcEzHmM msIP6F6DM3wPaPg4B39ywQw5ueWYkicSzk8EYAls0iEQPAagWzXK+Mg90NUJ0B/XGHaH era7OKM2pujrenvYdB9avhqEClVRSVSFvliBeX8Nyo85jW17tBpuo1YnJ4I33HRR1tgV 2Ni4jMcn0gj5a2Qhwe+GMSYZo8r+dpazZJs5JC9kbYCewYYWkydu2CA0wg3GtnSqM7Rb HEJ2rJXa8pEE7cFQ+IK0MYq82HrY3j6cfEAB6zoUp9TcaLF2ImkfD30hQP1CK/khHS/C 6qWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b="kNP/DVt8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w71si4148592pgd.275.2022.02.09.02.15.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 02:15:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b="kNP/DVt8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7C402E00D0F4; Wed, 9 Feb 2022 01:16:40 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348812AbiBHIHS (ORCPT + 99 others); Tue, 8 Feb 2022 03:07:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348863AbiBHIHP (ORCPT ); Tue, 8 Feb 2022 03:07:15 -0500 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 809C2C03FECD for ; Tue, 8 Feb 2022 00:07:07 -0800 (PST) Received: by mail-yb1-xb35.google.com with SMTP id m6so47493171ybc.9 for ; Tue, 08 Feb 2022 00:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lrJ/uUGCKgoKFH52TnhTE0iJcbWnNbC2//ZX4wls2Dw=; b=kNP/DVt8Qf+7bUY3UT5ZfqP8u/Zt0jSOyRJstDT02WFgtxz0uQpIo4XqdFFTnYfT/M F2Df9FQ1s1DpZs0sKfObwDOAAXfKQ7/T2yeAjlKR3i/reWmzZVjWKP3xdxDfOd3jfA7b tz5+cjBNS6/V6VXodt+MN/KM9Uxi0esuP7iu1e3jkfmQt4QdsMTpVKtJq5SLYiKaO6wV GdLTObr64l6FVPZjPzvdKBJR2Rjj+n9hO45a68l8DCZafC6+U2M4uJdIA6MbLvDKJRJZ DYHtfhyDzmb+GdSk9jY5Magnd6SN2eMgQm2n0M1xh1E5HMRa0EDjVN/rUBMFIXJjqzfO gYMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lrJ/uUGCKgoKFH52TnhTE0iJcbWnNbC2//ZX4wls2Dw=; b=aVHINfNgMXms4sj3Omj6xWQXQGPuNri5D+rWi6nxW8HwVlb+L88V6wWAhAiKJSoj6T AWHpuo0YZbnjPe6jcXK+n0Rb/LcQf0M4jwV/1bSnmjlBKdU2pSZ4F4TanF3Yfks1T2Fy XbfMmqZVaJRZRJjd+Kwzo+e9Yn2e1o7tV5X4pTGjqpTkQN7NoeWFb+Xm7UuzD4Y1ZWIS 5kQdq2pJ4ORsZTgK65jYJbD85e8oYn4sVeLjZAQDfF8I/w7AN7RpaJ3hZvZPviWVBWeK Jt6xeplX6zP+tThsP/9Nnj/24+dW0OQUKLoXHWPD6mZ7Xup1nQyKuwEs5fAXHuJZz61q l3Rw== X-Gm-Message-State: AOAM531pUyzFb1bZg4Vl2OrlYDoS9961xMt6JyIwF6Doyn0T7/TsQxvj k6suZrxNZP3r2vHEe3WL7BKr94j/NgNQXfUltp+8dA== X-Received: by 2002:a25:e406:: with SMTP id b6mr3405161ybh.703.1644307626738; Tue, 08 Feb 2022 00:07:06 -0800 (PST) MIME-Version: 1.0 References: <20220207063249.1833066-1-hch@lst.de> <20220207063249.1833066-2-hch@lst.de> In-Reply-To: <20220207063249.1833066-2-hch@lst.de> From: Muchun Song Date: Tue, 8 Feb 2022 16:06:30 +0800 Message-ID: Subject: Re: [PATCH 1/8] mm: remove a pointless CONFIG_ZONE_DEVICE check in memremap_pages To: Christoph Hellwig Cc: Andrew Morton , Dan Williams , Felix Kuehling , Alex Deucher , =?UTF-8?Q?Christian_K=C3=B6nig?= , "Pan, Xinhui" , Ben Skeggs , Karol Herbst , Lyude Paul , Jason Gunthorpe , Alistair Popple , Logan Gunthorpe , Ralph Campbell , LKML , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, nvdimm@lists.linux.dev, Linux Memory Management List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 7, 2022 at 2:36 PM 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 Reviewed-by: Muchun Song Thanks.