linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastien Laveze <sebastien.laveze@oss.nxp.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: timerfd performances
Date: Fri, 22 Jan 2021 14:23:06 +0100	[thread overview]
Message-ID: <0374b95d874d2525f4f354de600b62d369068017.camel@oss.nxp.com> (raw)
In-Reply-To: <20210122123057.72aeag672rh3omcw@linutronix.de>

On Fri, 2021-01-22 at 13:30 +0100, Sebastian Andrzej Siewior wrote:
> Splitting the timer-wakeups back into ktimersoftd would look like
> helping. But note that all timer wake ups would happen there - even the
> accumulated case where we have to wake 100 tasks at once. This would
> then probably ask for split on SCHED_OTHER vs RT tasks like it is done
> for clock_nanosleep().
I didn't know there was a difference in the wakeup mechanism when using
clock_nanosleep if the task was RT or not but that makes sense indeed.
(just looking at __hrtimer_init_sleeper)

So basically, if re-introduced, the ktimersoftd (with a RT priority by
default) would only handle the wakeup of RT tasks ? Other non-RT
POSIX/timerfd users would still be woken-up by ksoftirqd ?

> 
> Sebastian
Thx,
Seb


  reply	other threads:[~2021-01-22 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-18 16:10 timerfd performances Sebastien Laveze
2021-01-22 12:30 ` Sebastian Andrzej Siewior
2021-01-22 13:23   ` Sebastien Laveze [this message]
2021-01-22 14:07     ` Sebastian Andrzej Siewior

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=0374b95d874d2525f4f354de600b62d369068017.camel@oss.nxp.com \
    --to=sebastien.laveze@oss.nxp.com \
    --cc=bigeasy@linutronix.de \
    --cc=linux-rt-users@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).