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 C1641C433FE for ; Mon, 3 Oct 2022 06:37:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3F67A6B0072; Mon, 3 Oct 2022 02:37:25 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 37EF66B0073; Mon, 3 Oct 2022 02:37:25 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F8A48E0001; Mon, 3 Oct 2022 02:37:25 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 09CC66B0072 for ; Mon, 3 Oct 2022 02:37:25 -0400 (EDT) Received: from smtpin16.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id C69C3120C22 for ; Mon, 3 Oct 2022 06:37:24 +0000 (UTC) X-FDA: 79978681608.16.ADC16D0 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by imf05.hostedemail.com (Postfix) with ESMTP id 5ADA710000C for ; Mon, 3 Oct 2022 06:37:24 +0000 (UTC) Received: by mail-pf1-f175.google.com with SMTP id a29so9387572pfk.5 for ; Sun, 02 Oct 2022 23:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=MM3OJd2DkcOHrT8hY2BhMYId7OB8ssT+2cxJxle8wTM=; b=UoqIh4mYVXhdXCLGpAvavbSbntQUgV4mX1abT4uIHiPoU+ypze1Qhikf2amHuFIC5C 2S73HE6ZapCgyzkChwrj9UUHStxr+Enp/VpIN/QU7ticyxEOGPTrzrbhZnb1i2x426zg QLKJQZbXFJBRRf3TfHTMwpAKUhbVA4aYws5Dmj25iOsDBK+ZP9E2W65JIzArYNuQvaOl 2wQhvululLm6CD2EKzJgm+1bq/brgt+3HvRGCaDpCfkKpo1V4gM44Hkqsm6910lWW3S/ 7jTxRidVytX6eDUSsmHcTjtoQIPT5U8UXxi83QwWcxmCQuwkQVp9OwQ3/LFdUJ382XVi wnPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=MM3OJd2DkcOHrT8hY2BhMYId7OB8ssT+2cxJxle8wTM=; b=6onDYQ6XGkYLC/XWv1n66MajFVbPUKu0lcYOvY2SyDw5tTvXFhHOxklN54sxBbrXDV rYVMEB7/b5dpl/KmuZp2At6F7b2OLhqP7pX9Qx2lr6k3f3c7rV31RVWQ63y1QM55t7eJ QzZKngOwkh9Z25igHmQ3R1iFiMBtuDR0F4GkNADjagxWF+LJemQBJPX4tz+pvlRJXw2d UsEYFsrB8ld3CtHLKO408hs6atoHaIdkBaAE9MiWs+j+NHngscvN0l5zXmPks9RxE8XU ew7q01PKz4ELQnFqCPeNNVpL80nZd7elbJmitlXXRZdFNH9flVXu6O0I13DMKovOQFb2 KEpA== X-Gm-Message-State: ACrzQf2PJPucf2WQcBjvRtLpLs4i0eYY4hDWnkUzM83JmIWm1sE8lwYI R5ViTDiW5r5r8ZXfJ7YuGfQ= X-Google-Smtp-Source: AMsMyM42oEG5zL1y9xge2FBM+Jd8CA7E5enuQ9pI06q9TlUAB2JE4ijLYyitVK/Pdybwzv/mI9Jnyw== X-Received: by 2002:a63:20f:0:b0:439:c92f:e6d1 with SMTP id 15-20020a63020f000000b00439c92fe6d1mr17410097pgc.334.1664779043226; Sun, 02 Oct 2022 23:37:23 -0700 (PDT) Received: from hyeyoo ([114.29.91.56]) by smtp.gmail.com with ESMTPSA id x15-20020a170902a38f00b00176acc23a73sm39844pla.281.2022.10.02.23.37.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 23:37:22 -0700 (PDT) Date: Mon, 3 Oct 2022 15:37:18 +0900 From: Hyeonggon Yoo <42.hyeyoo@gmail.com> To: SeongJae Park Cc: linux-mm@kvack.org, akpm@linux-foundation.org, damon@lists.linux.dev Subject: Re: DAMON KUNIT test failure in latest mm-everything Message-ID: References: <20221002193656.8300-1-sj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221002193656.8300-1-sj@kernel.org> ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UoqIh4mY; spf=pass (imf05.hostedemail.com: domain of 42.hyeyoo@gmail.com designates 209.85.210.175 as permitted sender) smtp.mailfrom=42.hyeyoo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1664779044; a=rsa-sha256; cv=none; b=L6idoYim8IwtMWwPI/DpCQwDQW7RiWDNaDEZTpFkNkXQm73iflT3j1BrQoSr4oa9Y+tRC3 Jz2XN3C2MYMPw4nhGDDSxHukL/hUfTnttRtveo+C0WShxLnTKj37wQIYTaOHcEl7LU8kxo 0zepPrcdp3wV8jnKtKLqQsj7k4ddNi0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1664779044; 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-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=MM3OJd2DkcOHrT8hY2BhMYId7OB8ssT+2cxJxle8wTM=; b=gBadTTm23RIPItWAtF5mXZD0oqgZuaCWR86z7g0RiWRIRcFiveGGFqPFhGKMzUiPk1flcm zMK6qLuCiWTgC1nIOQMCAIEBeXiKtt/5NsmWIUujZDgDZbhfNsevs3GNeLLE1X0Jd1zFn4 7a1KOqWPLztsofwR7IwVHc9WYZvut5c= X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: 5ADA710000C X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=UoqIh4mY; spf=pass (imf05.hostedemail.com: domain of 42.hyeyoo@gmail.com designates 209.85.210.175 as permitted sender) smtp.mailfrom=42.hyeyoo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com X-Stat-Signature: 3zc3awqyoybhg74y5yiek5w36wdiksg1 X-HE-Tag: 1664779044-395060 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 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. > 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? > [1] https://lore.kernel.org/damon/20221002193130.8227-1-sj@kernel.org/ > -- Thanks, Hyeonggon