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 83B7DC433F5 for ; Mon, 29 Nov 2021 20:37:16 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 27D196B006C; Mon, 29 Nov 2021 15:36:48 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 194BC6B0074; Mon, 29 Nov 2021 15:36:48 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id F028E6B006C; Mon, 29 Nov 2021 15:36:47 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0226.hostedemail.com [216.40.44.226]) by kanga.kvack.org (Postfix) with ESMTP id D44176B006C for ; Mon, 29 Nov 2021 15:36:47 -0500 (EST) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 7ED178908A for ; Mon, 29 Nov 2021 20:36:37 +0000 (UTC) X-FDA: 78863126034.15.1F3E8DD Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf27.hostedemail.com (Postfix) with ESMTP id 4B380700009B for ; Mon, 29 Nov 2021 20:36:35 +0000 (UTC) Received: from dfw.source.kernel.org (pac-dfw-korg-source-1.fe.codeaurora.org [139.178.84.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id D32D4CE1689 for ; Mon, 29 Nov 2021 20:36:33 +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 6FA6F6227B; Fri, 26 Nov 2021 14:41:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D751C93056; Fri, 26 Nov 2021 14:41:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637937693; bh=UFkWL1t4sncycpVxqqdL4yjI2wz5vOWpmHtnhkS5ft4=; h=From:To:Cc:Subject:Date:In-Reply-To:From; b=o7PtzE6Bf/Eoa7qNkl4R4yUBUAefevQSCSuG98p/KOq/jgn82/yJjobaadiiCw+gI od6DmwBfwzEGEsr4Rrew0NwAf84/F6Ft/+JZXsa1ylwRsmXTVO51D6/VB0GiaqaQmB g5K1otDW5qB3q0yg1hOPo42J+j8cJXTItR3ZLOJrAJvS++7OSX2pkjZ6RKTkjAV9Vz D8XFqtPLvTRNyphXeFiL6caO7KjHpotqJx6opYcgTBS378WKuT0ZGyrjLGMcLptTg0 0zAtunIdkJuxS3gnS+2ypjsn6gGiKgVOxTqNdvzgakpkE4Jk3LihebR7v7UFrRfOxJ 1w9Fx0ug52guQ== From: SeongJae Park To: Oleksandr Natalenko Cc: akpm@linux-foundation.org, SeongJae Park , john.stultz@linaro.org, tglx@linutronix.de, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] mm/damon: Fix fake /proc/loadavg reports Date: Fri, 26 Nov 2021 14:41:30 +0000 Message-Id: <20211126144130.15460-1-sj@kernel.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 In-Reply-To: <23071693.Kees4NU7H7@natalenko.name> Content-Type: text/plain; charset=UTF-8 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 4B380700009B X-Stat-Signature: kfmzbkdy6gtjjsxbhgows7bh3rbrs4wp Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=o7PtzE6B; spf=pass (imf27.hostedemail.com: domain of sj@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org X-HE-Tag: 1638218195-858748 Content-Transfer-Encoding: quoted-printable 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 Fri, 26 Nov 2021 15:37:12 +0100 Oleksandr Natalenko wrote: > Hello. >=20 > On =C4=8Dtvrtek 25. listopadu 2021 17:08:28 CET SeongJae Park wrote: > > This patchset fixes DAMON's fake load report issue. The first patch > > makes yet another variant of usleep_range() for this fix, and the sec= ond > > patch fixes the issue of DAMON by making it using the newly introduce= d > > function. > >=20 > > I think these need to be applied on v5.15.y, but the second patch can= not > > cleanly applied there as is. I will back-port this on v5.15.y and po= st > > later once this is merged in the mainline. If you think this is not > > appropriate for stable tree, please let me know. > >=20 > > Changelog > > --------- > >=20 > > >From v1 > >=20 > > (https://lore.kernel.org/linux-mm/20211124145219.32866-1-sj@kernel.or= g/) > > - Avoid copy-and-pasting usleep_delay() in DAMON code (Andrew Morton) > >=20 > > SeongJae Park (2): > > timers: Implement usleep_idle_range() > > mm/damon/core: Fix fake load reports due to uninterruptible sleeps > >=20 > > include/linux/delay.h | 14 +++++++++++++- > > kernel/time/timer.c | 16 +++++++++------- > > mm/damon/core.c | 6 +++--- > > 3 files changed, 25 insertions(+), 11 deletions(-) >=20 > I'd appreciate if you Cc me as a reporter since I'm going to test this. Oops, sorry for forgetting that. I also forgot adding 'Suggested-by:' fo= r Andrew Morton on the first patch. I will do that and resend, Cc-ing you. >=20 > Thanks. >=20 > --=20 > Oleksandr Natalenko (post-factum) >=20