Oleg Nesterov
d015baebba
[PATCH] futex_find_get_task(): remove an obscure EXIT_ZOMBIE check
...
futex_find_get_task:
if (p->state == EXIT_ZOMBIE || p->exit_state == EXIT_ZOMBIE)
return NULL;
I can't understand this. First, p->state can't be EXIT_ZOMBIE. The
->exit_state check looks strange too. Sub-threads or tasks whose ->parent
ignores SIGCHLD go directly to EXIT_DEAD state (I am ignoring a ptrace
case). Why EXIT_DEAD tasks should be ok? Yes, EXIT_ZOMBIE is more
important (a task may stay zombie for a long time), but this doesn't mean
we should explicitely ignore other EXIT_XXX states.
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru >
Acked-by: Ingo Molnar <mingo@elte.hu >
Cc: Thomas Gleixner <tglx@linutronix.de >
Signed-off-by: Andrew Morton <akpm@osdl.org >
Signed-off-by: Linus Torvalds <torvalds@osdl.org >
2006-08-27 11:01:30 -07:00
..
2006-07-31 13:28:36 -07:00
2006-08-06 08:57:45 -07:00
2006-06-26 09:58:21 -07:00
2006-01-03 11:35:26 +01:00
2006-07-14 21:53:54 -07:00
2006-08-03 10:50:39 -04:00
2006-07-01 05:43:06 -04:00
2006-08-03 10:55:18 -04:00
2006-08-03 10:59:51 -04:00
2006-07-03 15:27:11 -07:00
2006-06-25 10:01:15 -07:00
2006-06-30 19:25:36 +02:00
2006-07-23 12:12:16 -07:00
2006-07-23 13:03:05 -07:00
2006-07-31 13:28:37 -07:00
2005-04-16 15:20:36 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:57 -07:00
2006-05-15 11:20:55 -07:00
2006-08-06 08:57:46 -07:00
2006-08-06 08:57:49 -07:00
2006-08-27 11:01:30 -07:00
2006-08-14 12:54:28 -07:00
2006-03-26 08:57:03 -08:00
2006-07-14 21:53:52 -07:00
2005-06-23 09:45:10 -07:00
2005-06-25 16:24:45 -07:00
2006-06-28 15:18:52 +10:00
2005-10-08 15:00:57 -07:00
2006-07-03 15:27:09 -07:00
2006-07-31 13:28:38 -07:00
2006-06-30 19:25:36 +02:00
2006-07-14 21:53:52 -07:00
2006-07-03 15:27:03 -07:00
2006-07-03 15:27:04 -07:00
2006-07-10 13:24:14 -07:00
2006-07-14 21:53:56 -07:00
2006-07-14 21:53:52 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:04 -07:00
2006-08-14 12:54:28 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:11 -07:00
2006-06-17 10:52:13 -07:00
2006-03-26 08:57:03 -08:00
2006-08-06 08:57:47 -07:00
2006-06-30 19:25:36 +02:00
2006-07-03 15:27:11 -07:00
2006-07-31 13:28:39 -07:00
2006-06-27 17:32:40 -07:00
2006-03-23 19:58:45 +01:00
2006-08-06 08:57:48 -07:00
2006-06-27 17:32:47 -07:00
2006-07-03 15:27:11 -07:00
2006-07-03 15:27:01 -07:00
2006-07-14 21:53:53 -07:00
2006-07-31 13:28:43 -07:00
2006-07-03 15:27:01 -07:00
2006-07-03 15:27:04 -07:00
2006-08-27 11:01:29 -07:00
2005-04-16 15:20:36 -07:00
2006-08-02 20:17:49 -07:00
2006-07-31 13:28:42 -07:00
2006-07-31 13:28:39 -07:00
2006-07-03 15:27:04 -07:00
2006-07-03 15:27:02 -07:00
2006-07-03 21:25:20 -07:00
2006-06-23 07:42:53 -07:00
2006-07-12 12:50:25 -07:00
2006-07-03 15:26:59 -07:00
2006-07-31 13:28:37 -07:00
2006-06-26 09:58:20 -07:00
2006-08-14 12:54:29 -07:00
2006-04-19 16:27:18 -07:00
2006-06-26 10:48:18 -07:00
2006-06-22 15:05:55 -07:00
2006-07-10 13:24:25 -07:00
2006-08-14 12:54:29 -07:00