Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp750465iof; Mon, 6 Jun 2022 11:48:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzORPSaX1nrwlhavr3OnPlPNbZ7lNCDrn9Bg/dX4JMbzp6udL26ZJIeSmp1p2ouwqCYAWt X-Received: by 2002:a17:902:d643:b0:161:f4c2:fae with SMTP id y3-20020a170902d64300b00161f4c20faemr25977968plh.123.1654541325043; Mon, 06 Jun 2022 11:48:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654541325; cv=none; d=google.com; s=arc-20160816; b=j2o977B21P3NKDbwDoX25QdIvYnyzK4Y3N6vIZ/QLzM3UfzwgbPD51uochUmuemEH5 yzWKurKa/WKxeGCjjlDNXkR8cgHmHnWRAhsxY5kAGAvUGaqXHRtVphH85zsJfcz+hMdc 4t63UkskFmG2ji19ng9tR+fnpQwvxx+/wK7os07KokhXCCfl1oEPWJXGai0jf8VOw59F D8gbMG/W/wY0VbKWxDWpix4dV16SNUCDmb6raP/LHMqWpIkFI+obAttj22x7Gs1UN4Yz EngmeFk1VCFix1qgTlklqwJOw5agXmFWiy6eKnMURaEWIwkU/3pu35Ao+zVf6Q/SInc5 /YWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=R8L5sw0vRQl26UOFNnFA6h9pVSHQVXqLt0oHqhLigZQ=; b=ZK7KLNvDN/rgDYC5DxagMvnzXvB9vGYnow+5wv5Muto98BAjtT+NMUg0/ri8CthSk/ 6msQfUmD64NGm1nlLQ4d3iPURQ3V2KDMxY3iTaovIsFjHOujxGq5RY+vnJzCHUatY9Vh VcienuohYEjNyTI+TLVJ4FRCSvlDVxvK4QhlzepXvmVghQLUQ1QBonjvlBKzC6Lreemc LIpuhgfMXu4e0Nnt9WxHMvrmY3cFYQ5Npe9gn0Q7qXn2F2SoohcfcYqk6zEkhXeooPsh JjfbOzE2Y1uZpPD8T4/sXRGdzIl5yMxojaTH6W0eoylcWmGxxUc8/917sS4FRmidUBXq UzPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gs75g9nm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dt6-20020a17090afa4600b001d6d8ba05a5si19949194pjb.125.2022.06.06.11.48.32; Mon, 06 Jun 2022 11:48:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gs75g9nm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231566AbiFFSXV (ORCPT + 99 others); Mon, 6 Jun 2022 14:23:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231307AbiFFSXU (ORCPT ); Mon, 6 Jun 2022 14:23:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08D1B1059F8; Mon, 6 Jun 2022 11:23:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AC6D8B81AE8; Mon, 6 Jun 2022 18:23:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C15C3C385A9; Mon, 6 Jun 2022 18:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654539796; bh=+QqAprUxOaQPSOtLP0LgBQYVTXKMbC246G9bHpmyd0Y=; h=From:To:Cc:Subject:Date:From; b=gs75g9nmBP5Dow05xpuWiCuO/NgJjCt9gShkU29XnHSJeHDrv5fuK7SmlPmJbH/j/ lhbg7TRElq9liJuX1WAqBxjesskhTNSy+t4VKbFPUB2a0Ixl+SMnjWQIBcIio+OO4v S+r4VzUUSY/XXBUy5UKJFRClt0B1DhUqY/Spd0JX3zpGQkRbCPJSldtYrdA6DFNIoO gSNHOnBjTaq6TscYJSjr4X56VvtqPc1d8nKSQLqrkQDMYjwKRbWdfFVVkZcArpNm1W N9fWhzwDHGlxwc5WKIJybAc0YHTB5t1KjBx995LdfkPqumeo2BOekuVQy0yenf7ICF rhWxxTnKAMuTQ== From: SeongJae Park To: akpm@linux-foundation.org Cc: corbet@lwn.net, damon@lists.linux.dev, linux-mm@kvack.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH 0/6] mm/damon: trivial cleanups Date: Mon, 6 Jun 2022 18:23:04 +0000 Message-Id: <20220606182310.48781-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 This patchset contains trivial cleansups for DAMON code. SeongJae Park (6): Docs/admin-guide/damon/reclaim: remove a paragraph that been obsolete due to online tuning support mm/damon/{dbgfs,sysfs}: move target_has_pid() from dbgfs to damon.h mm/damon/reclaim: deduplicate 'commit_inputs' handling mm/damon/sysfs: deduplicate inputs applying mm/damon/reclaim: make 'enabled' checking timer simpler mm/damon/reclaim: add 'damon_reclaim_' prefix to 'enabled_store()' .../admin-guide/mm/damon/reclaim.rst | 6 -- include/linux/damon.h | 6 ++ mm/damon/dbgfs.c | 15 ++--- mm/damon/reclaim.c | 40 +++++------ mm/damon/sysfs.c | 67 ++++++++----------- 5 files changed, 55 insertions(+), 79 deletions(-) -- 2.25.1