[PATCH 4/4] pid_ns: kill the now unused task_child_reaper() - Kernel

This is a discussion on [PATCH 4/4] pid_ns: kill the now unused task_child_reaper() - Kernel ; task_child_reaper() has no callers anymore, kill it. Signed-off-by: Oleg Nesterov --- 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) -{ ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()

  1. [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()

    task_child_reaper() has no callers anymore, kill it.

    Signed-off-by: Oleg Nesterov

    --- 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);


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  2. Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()

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


    Acked-by: Serge Hallyn

    > --- 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);
    >

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  3. Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()

    Oleg Nesterov wrote:
    > task_child_reaper() has no callers anymore, kill it.
    >
    > Signed-off-by: Oleg Nesterov


    Acked-by: Pavel Emelyanov
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

  4. Re: [PATCH 4/4] pid_ns: kill the now unused task_child_reaper()

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

    Acked-by: Sukadev Bhattiprolu
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

+ Reply to Thread