Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2272836ioo; Mon, 23 May 2022 14:30:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoxS5tnG8lHob+pGq5Z6JQ65eMNiTc7prlRg8nce1qv/C/AllkyjSvcljSWR7zp8QlTkTN X-Received: by 2002:a17:90a:3b07:b0:1de:b43f:f976 with SMTP id d7-20020a17090a3b0700b001deb43ff976mr1045350pjc.192.1653341441786; Mon, 23 May 2022 14:30:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653341441; cv=none; d=google.com; s=arc-20160816; b=HI2yf0JXZzwB0N+DGK5FtqbWPRphzpJ2FIAOYf18F7vUJzvEUJlrXFeOCg9y2Bc46m z5LoyacdgtY7QLZXor3G6XgsyfNQsfoyul7+2incGTuwS9lCovlM/xqonriMOEf+hsvE U5gDmGkEFdSrMXcmIUHzAscJY3N5lUYAbVz86oNuqIObvigpGL59sF7gD+DkFnpTkF7W zMBmoKEBwNhcBQv7Je6pSemB/0R3NDjkUkU9u5BSrYiyafFyb2Nx1WNnJ81YNjnuJVMt rTzqQUR77ZyeOT3xObpbP2bGavhompbHY3UySR6HZtTqqRdbXX/O5Li83bHauvVVSrq0 UVJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gfCktIt9khgynciRwtiUig8lvKyH6G6y6UjdlwSzWP8=; b=IBMxI/VDHoykX81mcPIgzX5LTkJmFil7gh4Re/xti0PUtV8diIaPGeb1vZys922iVl oWVXxLDj4yvqT4eCPxb2l7edDAVlB8o1gFKf9I1j9APrfhzOOy5zhhb2gMBDxMbjN/QB ztciKykpS8vjwzZB2ADjzyWidLF0et0ik4TFNaBlWtxuG6udAvpIs5WHEN5hDw4p3fpx JNtAKJ3eJG0bJHlbu2P2b4kzI6/v74c86VVYaA4vzdxxtZR+jcwZKRTJw7vuvUOVApCU AS1ZVUg33GfeB2TSVnwTd8axUbNKNG2ton4GlyU3VqHK3epLlBCbF+5B2LsxiCgGNxLW Jvnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ujWDmo9y; 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 jg12-20020a17090326cc00b001583e7178b6si10292935plb.323.2022.05.23.14.30.30; Mon, 23 May 2022 14:30:41 -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=ujWDmo9y; 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 S229569AbiEWVMt (ORCPT + 99 others); Mon, 23 May 2022 17:12:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiEWVMs (ORCPT ); Mon, 23 May 2022 17:12:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4FDB31DC4 for ; Mon, 23 May 2022 14:12:44 -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 96C9FB8162C for ; Mon, 23 May 2022 21:12:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F05C4C385AA; Mon, 23 May 2022 21:12:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653340362; bh=K+0kb+1T6fTwqeaa3p/zFyHwzUXpfYDrhNG6xwL4avs=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=ujWDmo9yI3OajC10rWTa9rn8qtIbPwK0fYx/WHL297tLDIZcNg2zTrgjqNP2FiHQH NhNU5deqlw4xTxVvnnVOXuRDlSm5CIqoLUW5oJTZww7DJYgJbsaOGRla/ZgOiByN9U iCTB8y1QDG4hnEki3sM6odgADVEpHRNI+MSXZ6JDmxm5EXslW7NuaSljXlRDlH+qeb /AysVxYmO1mNAbscoaMKP5pdkIEq+Bo67Q8kXpXezKTsLI4JFNkwtaOV5fJmZL60Zs PexurT76M9idbWriNU2nQFEIBwPZ+5mldJ+n6g1GfEiuPR0hc386lL8HAYvLmvphao LI69ldME5snHg== From: SeongJae Park To: Khalid Masum Cc: linux-kernel-mentees@lists.linuxfoundation.org, Shuah Khan , SeongJae Park , damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/daemon: describe NR_DAMON_OPS in damon_ops_id Date: Mon, 23 May 2022 14:12:25 -0700 Message-Id: <20220523211225.32500-1-sj@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220523205336.2435-1-khalid.masum.92@gmail.com> X-Spam-Status: No, score=-7.8 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 Hi Khalid, On Tue, 24 May 2022 02:53:36 +0600 Khalid Masum wrote: > NR_DAMON_OPS in the enum damon_ops_id is not described. Describe it for > better readability and also to fix a warning generated by make docs. > > "NR" is described as "Total Number" and "DAMON_OPS" is described as > "Monitoring operations" in the same file. Hence describe NR_DAMON_OPS > as "Total number of damon operations". Thank you for this patch! However, same patch has already posted by other and merged in mm-stable[1], sorry. Looking forward to your next patches, though! [1] https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?h=mm-stable&id=d4a157f5a26fbf1f1fd5da47a4772a738306348f Thanks, SJ > > Signed-off-by: Khalid Masum > --- > include/linux/damon.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/damon.h b/include/linux/damon.h > index f23cbfa42..9e9fb4d78 100644 > --- a/include/linux/damon.h > +++ b/include/linux/damon.h > @@ -262,6 +262,7 @@ struct damos { > * > * @DAMON_OPS_VADDR: Monitoring operations for virtual address spaces > * @DAMON_OPS_PADDR: Monitoring operations for the physical address space > + * @NR_DAMON_OPS: Total number of monitoring operations > */ > enum damon_ops_id { > DAMON_OPS_VADDR, > -- > 2.25.1 >