From: Oleg Nesterov <oleg@tv-sign.ru>
To: Christoph Lameter <christoph@lameter.com>
Cc: linux-kernel@vger.kernel.org,
Mitchell Blank Jr <mitch@sfgoth.com>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] Optimize sys_times for a single thread process
Date: Wed, 18 May 2005 13:23:50 +0400 [thread overview]
Message-ID: <428B09A6.DD188E8D@tv-sign.ru> (raw)
Christoph Lameter wrote:
>
> +#ifdef CONFIG_SMP
> + if (current == next_thread(current)) {
> + /*
> + * Single thread case without the use of any locks.
A nitpick, but wouldn't be it clearer to to use
thread_group_empty(current)?
Oleg.
next reply other threads:[~2005-05-18 9:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 9:23 Oleg Nesterov [this message]
2005-05-18 22:05 ` Christoph Lameter
2005-05-19 7:05 ` Oleg Nesterov
2005-05-19 14:41 ` Christoph Lameter
-- strict thread matches above, loose matches on Subject: below --
2005-05-17 22:37 Christoph Lameter
2005-05-17 23:10 ` Andrew Morton
2005-05-18 0:13 ` Christoph Lameter
2005-05-18 0:20 ` Andrew Morton
2005-05-18 1:03 ` Mitchell Blank Jr
2005-05-18 1:00 ` Christoph Lameter
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=428B09A6.DD188E8D@tv-sign.ru \
--to=oleg@tv-sign.ru \
--cc=akpm@osdl.org \
--cc=christoph@lameter.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mitch@sfgoth.com \
/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®