public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Oleg Nesterov <oleg@redhat.com>
Cc: ebiederm@xmission.com, xemul@openvz.org,
	sukadev@linux.vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 3/3] pids: refactor vnr/nr_ns helpers to make them safe
Date: Fri, 16 Jan 2009 14:21:50 -0800	[thread overview]
Message-ID: <20090116142150.7100c1da.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090116055520.GA28131@redhat.com>

On Fri, 16 Jan 2009 06:55:20 +0100
Oleg Nesterov <oleg@redhat.com> wrote:

> --- CUR/include/linux/sched.h~SP_3_NR	2009-01-16 02:13:50.000000000 +0100
> +++ CUR/include/linux/sched.h	2009-01-16 04:16:12.000000000 +0100
> @@ -1481,17 +1481,23 @@ struct pid_namespace;
>   *
>   * see also pid_nr() etc in include/linux/pid.h
>   */
> +pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type,
> +			struct pid_namespace *ns);

Sometime it would be nice to pull all the pid-related helpers out of
sched.h, into a dedicated header file which is included only by those
.c files which actually use them.


      parent reply	other threads:[~2009-01-16 22:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-16  5:55 [PATCH 3/3] pids: refactor vnr/nr_ns helpers to make them safe Oleg Nesterov
2009-01-16 10:35 ` Louis Rilling
2009-01-16 20:45   ` Oleg Nesterov
2009-01-16 21:48     ` Louis Rilling
2009-01-16 22:21 ` Andrew Morton [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=20090116142150.7100c1da.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oleg@redhat.com \
    --cc=sukadev@linux.vnet.ibm.com \
    --cc=xemul@openvz.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