diff options
| author | Andrew Morton <akpm@osdl.org> | 2003-07-17 19:25:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-17 19:25:55 -0700 |
| commit | 04af9e586441d7a7de50675140a9b78a3d902ae3 (patch) | |
| tree | c6057e9db9e18086eca0dfec21b11e5aa98e42e7 /kernel/fork.c | |
| parent | 5773262567608d397ec0aa41b250db1e3bb5e694 (diff) | |
[PATCH] is_devfsd_or_child() deadlock fix
From: Andrey Borzenkov <arvidjaar@mail.ru>
The code that did proper check existed in 2.4 and was removed in 2.5 for
whatever reason. The patch restores it slightly modified as below.
2.4 code looks somewhat unclean in that
- it traverses task list without lock.
- it starts from current->real_parent but nothing prevents current be
init_task itself. This hung for me on 2.5 during boot. May be 2.4 does
something differently.
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions
