Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp2936065rdb; Wed, 6 Sep 2023 22:08:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdRIRUMhodVMm68+Ih5XFDMSbQd4oXgrcsX6BO/EG+uppd/9BCPKftZhZU/2ctp6l8vGpS X-Received: by 2002:a17:902:e54e:b0:1bd:a0cd:1860 with SMTP id n14-20020a170902e54e00b001bda0cd1860mr16667141plf.64.1694063306788; Wed, 06 Sep 2023 22:08:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694063306; cv=none; d=google.com; s=arc-20160816; b=Hz77gWj3FOec4wKHmN3/uGzWWmfWPR8UKTNkcRUgHd6Gep9KwcPDbQ49u5V7rvMjtM fbClJyZ+IESv6ReWW4srZQH9ijHfrNf9UsNF+RKnHbhL9U1Uzx0J2893hV6aET+ZxeE1 juUGfZJpliuk6RY5kqK506AEFakCuyeCIZ4PQehIvmb1lA67HTJ35kf5+kRy+UW4H+lf gCiWh8HOVAeIJdhEkh/fNw60u31pR8C+OjJ3SNziUTBlI0/wAhsfEPJAIA29w2y14xaf 1OLvsQhiWJD2TVrGKN0RQWBBhYqUDc0MZuYD5o/38gN615OkQD6jDHK7AITa6d9tORQ/ N8+Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=J2/fk2g6ueN998UEDuqZALTDt1bKp8IG2lCGBYcRTJY=; fh=BzdeVYqZhG5iuwuKJRNLP969rvCput73lx0iwx2zu7A=; b=lxGwQ3lsCetMGs3t60vz8OK3Xqb1asOjhBpmJzsvZEQZmRmL1t/Ww+lPwDJQGX/S5K yQ3UUZCeiAnsxBwjkU1trh+70A2VOjY/R0pz50Bhhr7qFQG9N8YRKzJ9qkPSq7Zt+MYg 06Haa3aUw3I1KQyFWpwgxrk8novWJ8WAnoNiJy28jiHpJS8USfAL9N7efBNUiJdcdmXf W253x7u9Rre/M74u2MymCvmGWAqVmw5s+ID5HuCCBG9CHWgmj2AtWzjmy3v2qxBLN3dK k5iBEjIXJOcMKnfL2rBbMmMlWgwLrVlZMxUVVLy0EkclcZwLA1ut3+pf/F8tNKNCSmVM 33aw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XawgFLeB; 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 km7-20020a17090327c700b001bd94d06ce4si12440009plb.171.2023.09.06.22.08.14; Wed, 06 Sep 2023 22:08:26 -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=XawgFLeB; 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 S245084AbjIGCaC (ORCPT + 61 others); Wed, 6 Sep 2023 22:30:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244816AbjIGC3u (ORCPT ); Wed, 6 Sep 2023 22:29:50 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADEAB1BD0 for ; Wed, 6 Sep 2023 19:29:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24ADAC433C8; Thu, 7 Sep 2023 02:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694053784; bh=4wgatm5vkHkhu7CH7xqyyNlcb3rmypBu/L3jao8ltp0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XawgFLeBMRtYOs3eZvOrynqaYFsNYcVhLx4gCHHw8pi43JQBD3uHXY0KkhiTqaGT7 mNsMft8lIeEKWffka38pyw/THuXrqBK9lCxF7GSU53urAFxBy2e34GMG46ha2dtpJk A2qUWz0p0c1Q56x5p1kfVqwyGYYN2kW5IlP34dX80TZprJO/+HIeMH2b3NtgDi29EH CsivVUHp0QpYal2v7rLUMXrU+cryg6NOrdV6gUSkozYykti4rRyRVLSSjW8+u8m5H5 /NpzEaSnWhhuGqCXSw2hRbt++8Ez7+7o1gHUHZTiUEG946PnOUZkO8cEQ1zk+23TlQ omATik1sdthtw== From: SeongJae Park To: Andrew Morton Cc: SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 10/11] mm/damon/core: remove duplicated comment for watermarks-based deactivation Date: Thu, 7 Sep 2023 02:29:28 +0000 Message-Id: <20230907022929.91361-11-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230907022929.91361-1-sj@kernel.org> References: <20230907022929.91361-1-sj@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 The comment for explaining about watermarks-based monitoring part deactivation is duplicated in two paragraphs. Remove one. Signed-off-by: SeongJae Park --- include/linux/damon.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/linux/damon.h b/include/linux/damon.h index 266f92b34dd2..ab3089de1478 100644 --- a/include/linux/damon.h +++ b/include/linux/damon.h @@ -317,9 +317,6 @@ struct damos_access_pattern { * monitoring context are inactive, DAMON stops monitoring either, and just * repeatedly checks the watermarks. * - * If all schemes that registered to a &struct damon_ctx are inactive, DAMON - * stops monitoring and just repeatedly checks the watermarks. - * * Before applying the &action to a memory region, &struct damon_operations * implementation could check pages of the region and skip &action to respect * &filters -- 2.25.1