From: "George Spelvin" <linux@horizon.com>
To: jason.low2@hp.com
Cc: akpm@linux-foundation.org, linux@horizon.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] timer: Check thread timers only when there are active thread timers
Date: 26 Aug 2015 13:04:39 -0400 [thread overview]
Message-ID: <20150826170439.4724.qmail@ns.horizon.com> (raw)
- check_thread_timers(tsk, &firing);
+ if (!task_cputime_zero(&tsk->cputime_expires))
+ check_thread_timers(tsk, &firing);
Sincere question; I'm not certain myself: would it make more sense to put
this shortcut into check_thread_timers()?
It seems more like an optimization of that function than something the
caller needs to know about.
next reply other threads:[~2015-08-26 17:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-26 17:04 George Spelvin [this message]
2015-08-26 17:41 ` Jason Low
-- strict thread matches above, loose matches on Subject: below --
2015-08-26 3:17 [PATCH 0/3] timer: Improve itimers scalability Jason Low
2015-08-26 3:17 ` [PATCH 2/3] timer: Check thread timers only when there are active thread timers Jason Low
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=20150826170439.4724.qmail@ns.horizon.com \
--to=linux@horizon.com \
--cc=akpm@linux-foundation.org \
--cc=jason.low2@hp.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®