public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()
@ 2008-08-24 15:49 Oleg Nesterov
  2008-08-27  2:38 ` Serge E. Hallyn
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Oleg Nesterov @ 2008-08-24 15:49 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Eric W. Biederman, Pavel Emelyanov, Robert Rex, Roland McGrath,
	Serge Hallyn, Sukadev Bhattiprolu, linux-kernel

task_child_reaper() has no callers anymore, kill it.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

--- 2.6.27-rc4/include/linux/pid_namespace.h~4_KILL_HELPER	2008-07-30 13:12:48.000000000 +0400
+++ 2.6.27-rc4/include/linux/pid_namespace.h	2008-08-24 19:33:12.000000000 +0400
@@ -84,12 +84,6 @@ static inline struct pid_namespace *task
 	return tsk->nsproxy->pid_ns;
 }
 
-static inline struct task_struct *task_child_reaper(struct task_struct *tsk)
-{
-	BUG_ON(tsk != current);
-	return tsk->nsproxy->pid_ns->child_reaper;
-}
-
 void pidhash_init(void);
 void pidmap_init(void);
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()
  2008-08-24 15:49 [PATCH 4/4] pid_ns: kill the now unused task_child_reaper() Oleg Nesterov
@ 2008-08-27  2:38 ` Serge E. Hallyn
  2008-08-27 11:39 ` Pavel Emelyanov
  2008-08-27 18:04 ` sukadev
  2 siblings, 0 replies; 4+ messages in thread
From: Serge E. Hallyn @ 2008-08-27  2:38 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: Andrew Morton, Eric W. Biederman, Pavel Emelyanov, Robert Rex,
	Roland McGrath, Sukadev Bhattiprolu, linux-kernel

Quoting Oleg Nesterov (oleg@tv-sign.ru):
> task_child_reaper() has no callers anymore, kill it.
> 
> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

Acked-by: Serge Hallyn <serue@us.ibm.com>

> --- 2.6.27-rc4/include/linux/pid_namespace.h~4_KILL_HELPER	2008-07-30 13:12:48.000000000 +0400
> +++ 2.6.27-rc4/include/linux/pid_namespace.h	2008-08-24 19:33:12.000000000 +0400
> @@ -84,12 +84,6 @@ static inline struct pid_namespace *task
>  	return tsk->nsproxy->pid_ns;
>  }
> 
> -static inline struct task_struct *task_child_reaper(struct task_struct *tsk)
> -{
> -	BUG_ON(tsk != current);
> -	return tsk->nsproxy->pid_ns->child_reaper;
> -}
> -
>  void pidhash_init(void);
>  void pidmap_init(void);
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()
  2008-08-24 15:49 [PATCH 4/4] pid_ns: kill the now unused task_child_reaper() Oleg Nesterov
  2008-08-27  2:38 ` Serge E. Hallyn
@ 2008-08-27 11:39 ` Pavel Emelyanov
  2008-08-27 18:04 ` sukadev
  2 siblings, 0 replies; 4+ messages in thread
From: Pavel Emelyanov @ 2008-08-27 11:39 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: Andrew Morton, Eric W. Biederman, Robert Rex, Roland McGrath,
	Serge Hallyn, Sukadev Bhattiprolu, linux-kernel

Oleg Nesterov wrote:
> task_child_reaper() has no callers anymore, kill it.
> 
> Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

Acked-by: Pavel Emelyanov <xemul@openvz.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()
  2008-08-24 15:49 [PATCH 4/4] pid_ns: kill the now unused task_child_reaper() Oleg Nesterov
  2008-08-27  2:38 ` Serge E. Hallyn
  2008-08-27 11:39 ` Pavel Emelyanov
@ 2008-08-27 18:04 ` sukadev
  2 siblings, 0 replies; 4+ messages in thread
From: sukadev @ 2008-08-27 18:04 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: Andrew Morton, Eric W. Biederman, Pavel Emelyanov, Robert Rex,
	Roland McGrath, Serge Hallyn, linux-kernel

Oleg Nesterov [oleg@tv-sign.ru] wrote:
| task_child_reaper() has no callers anymore, kill it.
| 
| Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>

Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-08-27 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-24 15:49 [PATCH 4/4] pid_ns: kill the now unused task_child_reaper() Oleg Nesterov
2008-08-27  2:38 ` Serge E. Hallyn
2008-08-27 11:39 ` Pavel Emelyanov
2008-08-27 18:04 ` sukadev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox