Subject: + exit_state-kill-task_is_dead.patch added to -mm tree To: oleg@xxxxxxxxxx,David.Laight@xxxxxxxxxx,geert@xxxxxxxxxxxxxx,mingo@xxxxxxxxxx,peterz@xxxxxxxxxxxxx,tj@xxxxxxxxxx From: akpm@xxxxxxxxxxxxxxxxxxxx Date: Wed, 20 Nov 2013 14:03:55 -0800 The patch titled Subject: exit_state: kill task_is_dead() has been added to the -mm tree. Its filename is exit_state-kill-task_is_dead.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/exit_state-kill-task_is_dead.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/exit_state-kill-task_is_dead.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Oleg Nesterov <oleg@xxxxxxxxxx> Subject: exit_state: kill task_is_dead() task_is_dead() has no users since commit 43e13cc107cf "cred: remove task_is_dead() from __task_cred() validation", and nobody except exit.c should rely on ->exit_state (we still have the users which should be changed). Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: David Laight <David.Laight@xxxxxxxxxx> Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Tejun Heo <tj@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/sched.h | 1 - 1 file changed, 1 deletion(-) diff -puN include/linux/sched.h~exit_state-kill-task_is_dead include/linux/sched.h --- a/include/linux/sched.h~exit_state-kill-task_is_dead +++ a/include/linux/sched.h @@ -168,7 +168,6 @@ extern char ___assert_task_state[1 - 2*! #define task_is_traced(task) ((task->state & __TASK_TRACED) != 0) #define task_is_stopped(task) ((task->state & __TASK_STOPPED) != 0) -#define task_is_dead(task) ((task)->exit_state != 0) #define task_is_stopped_or_traced(task) \ ((task->state & (__TASK_STOPPED | __TASK_TRACED)) != 0) #define task_contributes_to_load(task) \ _ Patches currently in -mm which might be from oleg@xxxxxxxxxx are origin.patch autofs4-allow-autofs-to-work-outside-the-initial-pid-namespace.patch autofs4-translate-pids-to-the-right-namespace-for-the-daemon.patch coredump-set_dumpable-fix-the-theoretical-race-with-itself.patch coredump-kill-mmf_dumpable-and-mmf_dump_securely.patch coredump-make-__get_dumpable-get_dumpable-inline-kill-fs-coredumph.patch linux-next.patch proc-cleanup-simplify-get_task_state-task_state_array.patch fork-no-need-to-initialize-child-exit_state.patch exit_state-kill-task_is_dead.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html