public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Christoph Hellwig <hch@lst.de>
Cc: xemul@openvz.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] cleanup find_task_by_pid variants
Date: Tue, 16 Jun 2009 12:26:50 -0700	[thread overview]
Message-ID: <20090616122650.3cb42134.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090616191832.GA23048@lst.de>

On Tue, 16 Jun 2009 21:18:32 +0200
Christoph Hellwig <hch@lst.de> wrote:

> 
> On Thu, May 14, 2009 at 06:57:50PM +0200, Christoph Hellwig wrote:
> > 
> > find_task_by_pid_type_ns is only used to implement find_task_by_vpid and
> > find_task_by_pid_ns, but both of them pass PIDTYPE_PID as first argument.
> > So just fold find_task_by_pid_type_ns into find_task_by_pid_ns and use
> > find_task_by_pid_ns to implement find_task_by_vpid.
> > 
> > While we're at it also remove the exports for find_task_by_pid_ns and
> > find_task_by_vpid - we don't have any modular callers left as the only
> > modular caller of he old pre pid namespace find_task_by_pid (gfs2)
> > was switched to pid_task which operates on a struct pid pointer instead
> > of a pid_t.  Given the confusion about pid_t values vs namespace that's
> > generally the better option anyway and I think we're better of restricting
> > modules to do it that way.
> > 
>
> Is anyone going to pick this up?

I already did: http://userweb.kernel.org/~akpm/mmotm/broken-out/pids-clean-up-find_task_by_pid-variants.patch

      reply	other threads:[~2009-06-16 19:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14 16:57 cleanup find_task_by_pid variants Christoph Hellwig
2009-06-16 19:18 ` [PATCH] " Christoph Hellwig
2009-06-16 19:26   ` 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=20090616122650.3cb42134.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    --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