All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Oleg Nesterov <oleg@redhat.com>
Cc: dhowells@redhat.com, Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] change current_is_single_threaded() to use for_each_thread()
Date: Wed, 07 Oct 2015 10:39:22 +0100	[thread overview]
Message-ID: <7744.1444210762@warthog.procyon.org.uk> (raw)
In-Reply-To: <20151005120044.GA6198@redhat.com>

Oleg Nesterov <oleg@redhat.com> wrote:

> Change current_is_single_threaded() to use for_each_thread() rather
> than deprecated while_each_thread().

Wouldn't the old way be more efficient, given there's always going to be at
least one thread?  Granted, it's not much of an efficiency boost...

David

  reply	other threads:[~2015-10-07  9:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-05 12:00 [PATCH] change current_is_single_threaded() to use for_each_thread() Oleg Nesterov
2015-10-07  9:39 ` David Howells [this message]
2015-10-07 11:54   ` Oleg Nesterov
2015-10-07 13:50     ` David Howells

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=7744.1444210762@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.