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 2BF81C4332F for ; Mon, 3 Oct 2022 16:48:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7C6F68E0001; Mon, 3 Oct 2022 12:48:51 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7775D6B0073; Mon, 3 Oct 2022 12:48:51 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 63F558E0001; Mon, 3 Oct 2022 12:48:51 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 503286B0071 for ; Mon, 3 Oct 2022 12:48:51 -0400 (EDT) Received: from smtpin01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 161FE120448 for ; Mon, 3 Oct 2022 16:48:51 +0000 (UTC) X-FDA: 79980222462.01.6BA47CA Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf09.hostedemail.com (Postfix) with ESMTP id 8C17D14000A for ; Mon, 3 Oct 2022 16:48:50 +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 ams.source.kernel.org (Postfix) with ESMTPS id 8967EB811C2; Mon, 3 Oct 2022 16:48:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D8A76C433D6; Mon, 3 Oct 2022 16:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664815727; bh=9JFN+E5oxZqG7ORNDXu24NQo6HsvVcbWgfnQ+6L3bU8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=P3+ANmaVq3Gg+3IOiAi9tYuQtkv+4FesqzoH7/J+AnZFgk845eKe4GvW462pfCnrf BCR7rs2KoiA6oVRH4K24GNqFILrTa3tWWuMYwbsXM23zJcQpyPQ5k2D0lp5LNZ5Ewe jegdNdVmk7n2HSuX8QvMq0I+2TEir0iQDhrRXq8W4dmytUaje0WIfOWBPxoivEHyL+ q3oYaDvq67xU/BNVLBTg4LXnHTEUgT7+ig22e0elq1oGLraHIB/c/Ns/IlY6KE6MTv 1DufbFp0Dbn38zxgHZM+VAFjYlHnSM04uq3B8flBQdQNg1Fnoa3GlJ2mN3GtsITi1f S9wteIs9jsgFQ== From: SeongJae Park To: Hyeonggon Yoo <42.hyeyoo@gmail.com> Cc: SeongJae Park , linux-mm@kvack.org, akpm@linux-foundation.org, damon@lists.linux.dev Subject: Re: DAMON KUNIT test failure in latest mm-everything Date: Mon, 3 Oct 2022 16:48:45 +0000 Message-Id: <20221003164845.52332-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664815730; a=rsa-sha256; cv=none; b=NkzmqQwoHNlt5qJcNplFYsQMFbcFdz87Df495smxYFZs4Hcr5G6dnd1iEeSQ/fO8GdpEz7 P5htdDFCSo0AlByp/FE2e9+SKUR2gc0N4S9ThYazJPGM1ruNPg9lNxKbcVGLkkEvb2ueAC 2umImC9pi2YsNlqQ7OG/kSmbAod0blk= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=P3+ANmaV; spf=pass (imf09.hostedemail.com: domain of sj@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664815730; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=KijbReo3TT7J6acvD64a1KHNTUoyZMD9045eX2wmGps=; b=XUcGYsNYaqnSrvkgJpdI925DUL5yhfBo8GoAvY+eICbdnybErYzDhAUym/OPiSysDs30oH cvW0duTdH1aax5pxHS9VmGnsTOxx9PMVesIz132qLwW5GlwfCkB49p6h1olPllbtobHLHB AVPepVQULjrmd1C4dPPq3Q2HuoTybsg= X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 8C17D14000A X-Rspam-User: Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=P3+ANmaV; spf=pass (imf09.hostedemail.com: domain of sj@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-Stat-Signature: frc7ww43xcztaqdyzm6zu1cq57mj7wak X-HE-Tag: 1664815730-278889 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: On Mon, 3 Oct 2022 15:37:18 +0900 Hyeonggon Yoo <42.hyeyoo@gmail.com> wrote: > On Sun, Oct 02, 2022 at 07:36:56PM +0000, SeongJae Park wrote: > > Hi Hyeonggon, > > > > On Sun, 2 Oct 2022 16:24:29 +0900 Hyeonggon Yoo <42.hyeyoo@gmail.com> wrote: > > > > > On Sun, Oct 02, 2022 at 01:24:23PM +0900, Hyeonggon Yoo wrote: > > > > Hi guys, yesterday I just built and booted latest mm-everything, > > > > and I got following report from KUNIT test. > > > > > > > > Environment: > > > > - x86_64, gcc 11.2.0 > > > > - mm-everything (tag: mm-everything-2022-10-01-01-55) > > > > - config attached > > > > > > > > Report (stacktrace decoded): > > > > > > FYI, below is the bad commit from git bisection ;) > > > > > > Thanks! > > > > > > 065530b966a42d63f214ba40427dc8d00345f573 is the first bad commit > > > commit 065530b966a42d63f214ba40427dc8d00345f573 > > > Author: SeongJae Park > > > Date: Fri Sep 9 20:28:57 2022 +0000 > > > > > > mm/damon/core-test: test damon_set_regions > > > > > > Preceding commit fixes a bug in 'damon_set_regions()', which allows holes > > > in the new monitoring target ranges. This commit adds a kunit test case > > > for the problem to avoid any regression. > > > > Thank you so much for this kind report! I just sent a patch[1] for this. It > > should fix this issue. > > You're welcome! Thank you for quickly fixing this. No problem, all owing to your grateful report! > > > BTW, please note that the real issue was there even > > before the kunit commit, but the kunit commit was the first commit that > > triggers the issue. > > Yeah, makes sense. > Hmm.. Do you think it would be worth to backport to -stable? IMHO, this is not stronly required for -stable, as the kunit test is the only one case that could trigger the issue, to my understanding. If there is any code that could trigger the issue in stable, of course it would be need to be backported. Thanks, SJ > > > [1] https://lore.kernel.org/damon/20221002193130.8227-1-sj@kernel.org/ > > > -- > Thanks, > Hyeonggon