Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp613082iob; Wed, 4 May 2022 04:30:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhJizV8mbyZMZHre3OJOTQ8iz2/Nxs1J3IeqjTfHWNRFdxthVklZ09pp2N7H9S142yFiEV X-Received: by 2002:a17:907:a40c:b0:6f4:59cc:ae8b with SMTP id sg12-20020a170907a40c00b006f459ccae8bmr12697113ejc.522.1651663817959; Wed, 04 May 2022 04:30:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651663817; cv=none; d=google.com; s=arc-20160816; b=oORIrMLNJuI10dbs0HuNHaBbKhmtRys/d/ixmHkl5gv8KtvqiyTobRuYa0dJuwQQfX TXk328ABFVeLwe+csGHz9CZB4XJsFl8ZiOAZpEjVP/UoW1dGkUwy4fbQQNNlrtcR7oCL GoPXIJYQ669w97h14jVRGD6A+/3KuQnzSOhzWkYDO9D/TdWXqWmrDF0hK6nSt4YgtqUU jeEgjwkF6xdPp+tYNP5VnQmYva/1gMMcnMRBMiitd1KcoNaLXJ4X7OJjx/5JBPBNhLjn aHwGWARxpXcmoMVTOdzYcgzqqbFfMAfuReUwgmIzI1r08ds/Te/RCu0dyQHsbz5ySnA4 mKRw== 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=2XXRpCvmsl8cuJhRF6gKNgnRCP+0be9A92aTCHj/N8s=; b=GxJsXRK7iqr2NbvCvvLjQw14wMtHN06v75AbTOUeYqhQak4ixn9nbeE1PYHDRYAXlT L8JUGsTonewUI3p42+uY04NN5vIAODqLbzDDKsGoqYxRI6aPerxv8k+vGnmY2fd99sz0 6oO+sjcSsb95xsn5TgISPA0bptC4FWG36sGZLjh4A5YvdsHUfBVq07EVsFTgWJ55Hy/b imXhgwJuUQN+LyUF/PzDVmkYaVveoXfEAjtA3kNazHTooJmCYldt0OGRVs9wUmfFneMa 7Arhl8FY8IZlKdNyWOHGmKgWpxZ7IJj378ysSrlMDniDxt/MiqP55+9ks2IirO56mP5Y mhJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KgBnQAlc; 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 m12-20020a170906848c00b006f43900695bsi7355975ejx.21.2022.05.04.04.29.54; Wed, 04 May 2022 04:30:17 -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=KgBnQAlc; 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 S244341AbiECXoh (ORCPT + 99 others); Tue, 3 May 2022 19:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232653AbiECXog (ORCPT ); Tue, 3 May 2022 19:44:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47C0742491 for ; Tue, 3 May 2022 16:41:02 -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 dfw.source.kernel.org (Postfix) with ESMTPS id DE5AF617DE for ; Tue, 3 May 2022 23:41:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8ED7FC385A9; Tue, 3 May 2022 23:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651621261; bh=+tezogTSV04DoRfNPTRO1bdR//3Y4tWK1IjFnVw7LlU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KgBnQAlcsxpLon6CBN+YbHbw7TNsR772LOJU85BHBpbn6ULL3OPFvfMTyUjR1hXjt ZGL9kC1YyNCAOR6R82CHjuwMAwnpq3RIyUh5NFO1X3PAjFImVFO4ezBcU4rnUDARPs bWAv/knGIJpwf/8er52TRA75TLdEXy67v6MtvmGlRmWKPKhQosFswaQsPC+t70FxxM yyGWd0MZ1ly8BVxl4qMWQV3/Xh8IXLl/LHAp/adtQZuMVrgopFsqtcXwIhZnKq4l+w uYutrsI62HfILf4oCoMDeugPNgFGzUHusWE/YfEdPeMQdMeWVLMGIa8MFeJ3FjOmTZ /VKXf8Ls4jGpg== From: SeongJae Park To: Liam Howlett Cc: "maple-tree@lists.infradead.org" , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , Andrew Morton , Yu Zhao , sj@kernel.org, damon@lists.linux.dev Subject: Re: [PATCH v8 16/70] damon: Convert __damon_va_three_regions to use the VMA iterator Date: Tue, 3 May 2022 23:40:57 +0000 Message-Id: <20220503234057.105810-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220426150616.3937571-17-Liam.Howlett@oracle.com> References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 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 Liam, Could you please add I and damon@lists.linux.dev to the recipients of this patch from next time? On Tue, 26 Apr 2022 15:06:32 +0000 Liam Howlett wrote: > From: "Liam R. Howlett" > > This rather specialised walk can use the VMA iterator. If this proves to > be too slow, we can write a custom routine to find the two largest gaps, > but it will be somewhat complicated, so let's see if we need it first. > > Update the kunit test case to use the maple tree. This also fixes an > issue with the kunit testcase not adding the last VMA to the list. > > Fixes: 17ccae8bb5c9 (mm/damon: add kunit tests) > Signed-off-by: Liam R. Howlett > Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: SeongJae Park Thanks, SJ [...]