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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A8BFC433F5 for ; Tue, 3 May 2022 23:41:04 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 998A76B0071; Tue, 3 May 2022 19:41:03 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9480D6B0073; Tue, 3 May 2022 19:41:03 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 80FB96B0074; Tue, 3 May 2022 19:41:03 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 6D4A06B0071 for ; Tue, 3 May 2022 19:41:03 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id 3C41D20B86 for ; Tue, 3 May 2022 23:41:03 +0000 (UTC) X-FDA: 79426054806.20.D291581 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by imf01.hostedemail.com (Postfix) with ESMTP id B341D4008A for ; Tue, 3 May 2022 23:40:54 +0000 (UTC) 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 D4541617E9; 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-Stat-Signature: umgmgutupw8ybx8thfb1sczanwpbbsjp Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=KgBnQAlc; spf=pass (imf01.hostedemail.com: domain of sj@kernel.org designates 139.178.84.217 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Rspam-User: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: B341D4008A X-HE-Tag: 1651621254-562666 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 [...]