All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Oleg Nesterov <oleg@redhat.com>
Cc: Cedric Le Goater <clg@fr.ibm.com>,
	Dave Hansen <haveblue@us.ibm.com>,
	Eric Biederman <ebiederm@xmission.com>,
	Pavel Emelyanov <xemul@openvz.org>,
	Serge Hallyn <serue@us.ibm.com>,
	Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>,
	linux-kernel@vger.kernel.org,
	Alan Cox <number6@the-village.bc.nu>, Ian Kent <raven@themaw.net>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [PATCH] pids: kill now unused signal_struct-> __pgrp/__session and friends
Date: Mon, 26 Jan 2009 21:13:54 -0800	[thread overview]
Message-ID: <20090126211354.a4f38be2.akpm@linux-foundation.org> (raw)
In-Reply-To: <20090119220554.GA4219@redhat.com>

On Mon, 19 Jan 2009 23:05:54 +0100 Oleg Nesterov <oleg@redhat.com> wrote:

> [PATCH -mm] pids: kill signal_struct-> __pgrp/__session and friends
> 
> (depends on pids-refactor-vnr-nr_ns-helpers-to-make-them-safe.patch)
> 
> We are wasting 2 words in signal_struct without any reason to implement
> task_pgrp_nr() and task_session_nr().
> 
> task_session_nr() has no callers since 2e2ba22ea4fd4bb85f0fa37c521066db6775cbef,
> we can remove it.
> 
> task_pgrp_nr() is still (I believe wrongly) used in fs/autofsX and fs/coda.
> 
> This patch reimplements task_pgrp_nr() via task_pgrp_nr_ns(), and kills
> __pgrp/__session and the related helpers.
> 
> The change in drivers/char/tty_io.c is cosmetic, but hopefully makes sense
> anyway.

hm, that's a fairly deep-looking patch.

You missed the fun bit:

 drivers/char/tty_io.c |    4 +--
 include/linux/sched.h |   43 +++++-----------------------------------
 kernel/exit.c         |   10 ++-------
 kernel/fork.c         |    2 -
 kernel/sys.c          |    4 ---
 5 files changed, 12 insertions(+), 51 deletions(-)

> TTY-parts-Acked-by: Alan Cox <number6@the-village.bc.nu>

who is that masked man?

      reply	other threads:[~2009-01-27  5:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 14:33 [PATCH] pids: kill now unused signal_struct-> __pgrp/__session and friends Oleg Nesterov
2009-01-18 15:11 ` Alan Cox
2009-01-19 22:05 ` Oleg Nesterov
2009-01-27  5:13   ` 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=20090126211354.a4f38be2.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=clg@fr.ibm.com \
    --cc=ebiederm@xmission.com \
    --cc=haveblue@us.ibm.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=number6@the-village.bc.nu \
    --cc=oleg@redhat.com \
    --cc=raven@themaw.net \
    --cc=serue@us.ibm.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 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.