From patchwork Fri Aug 6 09:51:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 12423105 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81BA6C4338F for ; Fri, 6 Aug 2021 09:52:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 0B7D1611C3 for ; Fri, 6 Aug 2021 09:52:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0B7D1611C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id 9A9666B006C; Fri, 6 Aug 2021 05:52:18 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 930768D0002; Fri, 6 Aug 2021 05:52:18 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 785126B0074; Fri, 6 Aug 2021 05:52:18 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0145.hostedemail.com [216.40.44.145]) by kanga.kvack.org (Postfix) with ESMTP id 59FF56B006C for ; Fri, 6 Aug 2021 05:52:18 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 078A2180ACC34 for ; Fri, 6 Aug 2021 09:52:18 +0000 (UTC) X-FDA: 78444190356.15.3D29380 Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) by imf21.hostedemail.com (Postfix) with ESMTP id B5A41D021C48 for ; Fri, 6 Aug 2021 09:52:17 +0000 (UTC) Received: by mail-qk1-f172.google.com with SMTP id w197so7940937qkb.1 for ; Fri, 06 Aug 2021 02:52:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fkNeqpNF5jRo/BI/tlSB7kvGxORHyjBjoaBmdA8dbl8=; b=mSgqOk5xrXiP+7KgsXvpGH/KV/+ch8Yl1hT2lHmA/1bl6zuSQjjTh6U9gKu9qHuqPR 0TIeX0w1kc4lYP6hI6OCZuIFlZns8xXKcPPOTIRBY3c6JcXXb1KycI3odIN11Fk33AHr Kumx+KuN74BS6U74VDe23dPIyBhpyKchDKNJGQyeiGibfBod4zKYz/g5YQqOz+CcaIep LzDaCj7rwVS6Q5ljIgrLspcdh+Bo3iPu8yHZ4rqJN+b+bXR6DryvHgn4+GKUCQat3XeE VB9EmbjIVWSFZffAOveJf1ZTJA1QlCWsj+xkNioxjr/6O603THzaxKUfdm7WX3vZm1tk +oDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fkNeqpNF5jRo/BI/tlSB7kvGxORHyjBjoaBmdA8dbl8=; b=CxfHl+iAb5O4Lvf1RO5/mDNcIlEpFAekD7wPp17+iVS2GyWohzRLJbM7D3poVUEWKI uiqGdIhXuaPS4vLok10rsETPyChLsqgKJkBAnbeNB2TBzeghsZgVEG6k2hgUfQrgP0Y3 c69THxmkOfkH1mk1kdMzua+xjNzPRONVI+weqFlrE4erlxiWeeC5vrC5M/preWthX95q dSRdGySVVt3MeeLn4cJJvYbhms64vn6961Rn5VgznKOYb4klftu3qTIixhWBAsoBfB9l NQ4RjUfECbtprr4tqugcTYCkl8RNUvzoFqPA5hVJ7goxZkOo+tUO/olw3XjamI7psNfp B/sA== X-Gm-Message-State: AOAM532KOR6CAv/1aRWT/PcjCFDa7EE/w5uYxG+3WFGmCAhX5pMiL3Ck aTQ8nwQjaPaV5aNHoMtXIiQ= X-Google-Smtp-Source: ABdhPJxXhnPB2PZjfQlVlu8XQeA93JPqeH4IZUQ8g2nUjUzpDWq9chilNp7gyB3Xtqo4865m7hXUDw== X-Received: by 2002:a05:620a:158c:: with SMTP id d12mr9271433qkk.391.1628243537041; Fri, 06 Aug 2021 02:52:17 -0700 (PDT) Received: from localhost.localdomain (ec2-35-169-212-159.compute-1.amazonaws.com. [35.169.212.159]) by smtp.gmail.com with ESMTPSA id s3sm3296915qtn.4.2021.08.06.02.52.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 02:52:16 -0700 (PDT) From: SeongJae Park To: akpm@linux-foundation.org Cc: SeongJae Park , rdunlap@infradead.org, broonie@kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, mhocko@suse.cz, mm-commits@vger.kernel.org, sfr@canb.auug.org.au, willy@infradead.org, linux-damon@amazon.com Subject: [PATCH 2/2] mm/damon/Kconfig: Remove unnecessary PAGE_EXTENSION setup Date: Fri, 6 Aug 2021 09:51:53 +0000 Message-Id: <20210806095153.6444-2-sj38.park@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210806095153.6444-1-sj38.park@gmail.com> References: <20210806092246.30301-1-sjpark@amazon.de> <20210806095153.6444-1-sj38.park@gmail.com> X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: B5A41D021C48 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=mSgqOk5x; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf21.hostedemail.com: domain of sj38park@gmail.com designates 209.85.222.172 as permitted sender) smtp.mailfrom=sj38park@gmail.com X-Stat-Signature: 4eu1x9g56187r45dhhmdzxgp6b9tui17 X-HE-Tag: 1628243537-343514 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: SeongJae Park Commit 13d49dbd0123 ("mm/damon: implement primitives for the virtual memory address spaces") of linux-mm[1] makes DAMON_VADDR to set PAGE_IDLE_FLAG. PAGE_IDLE_FLAG sets PAGE_EXTENSION if !64BIT. However, DAMON_VADDR do the same work again. This commit removes the unnecessary duplicate. [1] https://github.com/hnaz/linux-mm/commit/13d49dbd0123 Fixes: 13d49dbd0123 ("mm/damon: implement primitives for the virtual memory address spaces") Reported-by: Randy Dunlap Signed-off-by: SeongJae Park Acked-by: Randy Dunlap # build-tested --- mm/damon/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/damon/Kconfig b/mm/damon/Kconfig index 455995152697..37024798a97c 100644 --- a/mm/damon/Kconfig +++ b/mm/damon/Kconfig @@ -27,7 +27,6 @@ config DAMON_KUNIT_TEST config DAMON_VADDR bool "Data access monitoring primitives for virtual address spaces" depends on DAMON && MMU - select PAGE_EXTENSION if !64BIT select PAGE_IDLE_FLAG help This builds the default data access monitoring primitives for DAMON