From: SeongJae Park <sj@kernel.org>
To: akpm@linux-foundation.org
Cc: john.stultz@linaro.org, mm-commits@vger.kernel.org,
oleksandr@natalenko.name, sj@kernel.org, stable@vger.kernel.org,
tglx@linutronix.de
Subject: Re: + timers-implement-usleep_idle_range.patch added to -mm tree
Date: Tue, 30 Nov 2021 08:31:25 +0000 [thread overview]
Message-ID: <20211130083125.14954-1-sj@kernel.org> (raw)
In-Reply-To: <20211127235653.NOYYrId5C%akpm@linux-foundation.org>
Hello Andrew,
On Sat, 27 Nov 2021 15:56:53 -0800 akpm@linux-foundation.org wrote:
>
> The patch titled
> Subject: timers: implement usleep_idle_range()
> has been added to the -mm tree. Its filename is
> timers-implement-usleep_idle_range.patch
>
> This patch should soon appear at
> https://ozlabs.org/~akpm/mmots/broken-out/timers-implement-usleep_idle_range.patch
> and later at
> https://ozlabs.org/~akpm/mmotm/broken-out/timers-implement-usleep_idle_range.patch
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
>
> The -mm tree is included into linux-next and is updated
> there every 3-4 working days
>
> ------------------------------------------------------
> From: SeongJae Park <sj@kernel.org>
> Subject: timers: implement usleep_idle_range()
>
> Patch series "mm/damon: Fix fake /proc/loadavg reports", v3.
>
> This patchset fixes DAMON's fake load report issue. The first patch makes
> yet another variant of usleep_range() for this fix, and the second patch
> fixes the issue of DAMON by making it using the newly introduced function.
>
>
> This patch (of 2):
>
> Some kernel threads such as DAMON could need to repeatedly sleep in micro
> seconds level. Because usleep_range() sleeps in uninterruptible state,
> however, such threads would make /proc/loadavg reports fake load.
>
> To help such cases, this commit implements a variant of usleep_range()
> called usleep_idle_range(). It is same to usleep_range() but sets the
> state of the current task as TASK_IDLE while sleeping.
>
> Link: https://lkml.kernel.org/r/20211126145015.15862-1-sj@kernel.org
> Link: https://lkml.kernel.org/r/20211126145015.15862-2-sj@kernel.org
> Signed-off-by: SeongJae Park <sj@kernel.org>
> Suggested-by: Andrew Morton <akpm@linux-foundation.org>
> Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Oleksandr Natalenko <oleksandr@natalenko.name>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Thank you for picking this patch series. Could you please also add
'Tested-by:' tags for Oleksandr[1]?
[1] https://lore.kernel.org/linux-mm/51190182.RbnaydPRjS@natalenko.name/
Thanks,
SJ
> ---
>
> include/linux/delay.h | 14 +++++++++++++-
> kernel/time/timer.c | 16 +++++++++-------
> 2 files changed, 22 insertions(+), 8 deletions(-)
prev parent reply other threads:[~2021-11-30 8:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-27 23:56 + timers-implement-usleep_idle_range.patch added to -mm tree akpm
2021-11-30 8:31 ` SeongJae Park [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211130083125.14954-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=john.stultz@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mm-commits@vger.kernel.org \
--cc=oleksandr@natalenko.name \
--cc=stable@vger.kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox