From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B444EEE14D4 for ; Thu, 7 Sep 2023 02:30:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245115AbjIGCaD (ORCPT ); Wed, 6 Sep 2023 22:30:03 -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 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