login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
April
»
10
Re: init's children list is long and slows reaping children.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Ingo Molnar
Subject:
Re: init's children list is long and slows reaping children.
Date: Tuesday, April 10, 2007 - 8:06 am
* Eric W. Biederman <ebiederm@xmission.com> wrote:
quoted text
> > on a second thought: the p->children list is needed for the whole > > child/parent task tree, which is needed for sys_getppid(). > > Yes, something Oleg said made me realize that. > > As long as the reparent isn't to complex it isn't required that we > have exactly one list . > > > The question is, does anything require us to reparent to within the > > same thread group? > > I think my head is finally on straight about this question. > > Currently there is the silly linux specific parent death signal > (pdeath_signal). Oleg's memory was a better than mine on this score. > > However there is no indication that the parent death signal being sent > when a thread leader dies is actually correct, or even interesting. It > probably should only be sent when getppid changes. > > So with pdeath_signal fixed that is nothing that requires us to > reparent within the same thread group. > > I'm trying to remember what the story is now. There is a nasty race > somewhere with reparenting, a threaded parent setting SIGCHLD to > SIGIGN, and non-default signals that results in an zombie that no one > can wait for and reap. It requires being reparented twice to trigger. > > Anyway it is a real mess and if we can remove the stupid multi-headed > child lists things would become much simpler and the problem could not > occur. > > Plus the code would become much simpler... > > utrace appears to have removed the ptrace_children list and the > special cases that entailed.
so ... is anyone pursuing this? This would allow us to make sys_wait4() faster and more scalable: no tasklist_lock bouncing for example. Ingo -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
init's children list is long and slows reaping children.
, Robin Holt
, (Thu Apr 5, 12:51 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Thu Apr 5, 1:57 pm)
Re: init's children list is long and slows reaping children.
, Chris Snook
, (Thu Apr 5, 5:51 pm)
Re: init's children list is long and slows reaping children.
, Chris Snook
, (Thu Apr 5, 6:03 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Thu Apr 5, 6:29 pm)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Thu Apr 5, 7:15 pm)
Re: init's children list is long and slows reaping children.
, Robin Holt
, (Fri Apr 6, 3:43 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 8:38 am)
Re: init's children list is long and slows reaping children.
, Oleg Nesterov
, (Fri Apr 6, 9:31 am)
Re: init's children list is long and slows reaping children.
, Robin Holt
, (Fri Apr 6, 9:41 am)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Fri Apr 6, 10:32 am)
Re: init's children list is long and slows reaping children.
, Roland Dreier
, (Fri Apr 6, 10:39 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 11:02 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 11:04 am)
Re: init's children list is long and slows reaping children.
, Christoph Hellwig
, (Fri Apr 6, 11:05 am)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Fri Apr 6, 11:21 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 11:30 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 11:56 am)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Fri Apr 6, 12:16 pm)
[patch] sched: get rid of p->children use in show_task()
, Ingo Molnar
, (Fri Apr 6, 12:18 pm)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Fri Apr 6, 12:19 pm)
Re: [patch] sched: get rid of p->children use in show_task()
, Ingo Molnar
, (Fri Apr 6, 12:22 pm)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Fri Apr 6, 12:39 pm)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Fri Apr 6, 2:29 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Fri Apr 6, 2:51 pm)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Fri Apr 6, 3:31 pm)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Fri Apr 6, 3:38 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Fri Apr 6, 3:46 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Fri Apr 6, 3:51 pm)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Fri Apr 6, 3:59 pm)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Fri Apr 6, 4:37 pm)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Mon Apr 9, 1:28 am)
Re: init's children list is long and slows reaping children.
, Chris Snook
, (Mon Apr 9, 10:37 am)
Re: init's children list is long and slows reaping children.
, Bill Davidsen
, (Mon Apr 9, 11:09 am)
Re: init's children list is long and slows reaping children.
, Kyle Moffett
, (Mon Apr 9, 12:28 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Mon Apr 9, 12:51 pm)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Mon Apr 9, 1:00 pm)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Mon Apr 9, 1:03 pm)
Re: init's children list is long and slows reaping children.
, Andrew Morton
, (Mon Apr 9, 5:23 pm)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Mon Apr 9, 5:48 pm)
Re: init's children list is long and slows reaping children.
, Andrew Morton
, (Mon Apr 9, 6:15 pm)
Re: init's children list is long and slows reaping children.
, Dave Jones
, (Mon Apr 9, 6:59 pm)
Re: init's children list is long and slows reaping children.
, Andrew Morton
, (Mon Apr 9, 7:30 pm)
Re: init's children list is long and slows reaping children.
, Linus Torvalds
, (Mon Apr 9, 7:46 pm)
Re: init's children list is long and slows reaping children.
, Alexey Dobriyan
, (Mon Apr 9, 10:07 pm)
Re: init's children list is long and slows reaping children.
, Dave Jones
, (Mon Apr 9, 10:21 pm)
Re: init's children list is long and slows reaping children.
, Torsten Kaiser
, (Mon Apr 9, 11:09 pm)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Mon Apr 9, 11:53 pm)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 12:05 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 12:07 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 12:08 am)
Re: init's children list is long and slows reaping children.
, Andrew Morton
, (Tue Apr 10, 12:37 am)
Re: init's children list is long and slows reaping children.
, Russell King
, (Tue Apr 10, 12:44 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 1:16 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 1:33 am)
Re: init's children list is long and slows reaping children.
, Andrew Morton
, (Tue Apr 10, 1:41 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 1:48 am)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Tue Apr 10, 1:59 am)
Re: init's children list is long and slows reaping children.
, Jeff Garzik
, (Tue Apr 10, 2:33 am)
Re: init's children list is long and slows reaping children.
, Robin Holt
, (Tue Apr 10, 2:42 am)
Re: init's children list is long and slows reaping children.
, Oleg Nesterov
, (Tue Apr 10, 6:38 am)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Tue Apr 10, 6:48 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Tue Apr 10, 7:51 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Tue Apr 10, 8:00 am)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Tue Apr 10, 8:06 am)
Re: init's children list is long and slows reaping children.
, Bill Davidsen
, (Tue Apr 10, 8:12 am)
[PATCH] Only send pdeath_signal when getppid changes.
, Eric W. Biederman
, (Tue Apr 10, 8:16 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Tue Apr 10, 8:22 am)
Re: init's children list is long and slows reaping children.
, Ingo Molnar
, (Tue Apr 10, 8:53 am)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Tue Apr 10, 9:17 am)
Re: init's children list is long and slows reaping children.
, Matt Mackall
, (Tue Apr 10, 9:35 am)
Re: [PATCH] Only send pdeath_signal when getppid changes.
, Oleg Nesterov
, (Tue Apr 10, 9:37 am)
Re: init's children list is long and slows reaping children.
, Oleg Nesterov
, (Tue Apr 10, 9:44 am)
Re: [PATCH] Only send pdeath_signal when getppid changes.
, Eric W. Biederman
, (Tue Apr 10, 10:41 am)
Re: [PATCH] Only send pdeath_signal when getppid changes.
, Roland McGrath
, (Tue Apr 10, 10:48 am)
Re: init's children list is long and slows reaping children.
, Davide Libenzi
, (Tue Apr 10, 12:17 pm)
Re: init's children list is long and slows reaping children.
, Ingo Oeser
, (Tue Apr 10, 3:20 pm)
Re: init's children list is long and slows reaping children.
, Ingo Oeser
, (Tue Apr 10, 3:35 pm)
Re: [PATCH] Only send pdeath_signal when getppid changes.
, Albert Cahalan
, (Tue Apr 10, 8:17 pm)
[patch] uninline remove/add_parent() APIs
, Ingo Molnar
, (Tue Apr 10, 11:20 pm)
Re: [patch] uninline remove/add_parent() APIs
, Eric W. Biederman
, (Wed Apr 11, 12:00 am)
Re: init's children list is long and slows reaping children.
, Nick Piggin
, (Wed Apr 11, 12:28 am)
Re: init's children list is long and slows reaping children.
, Bill Davidsen
, (Wed Apr 11, 12:55 pm)
Re: init's children list is long and slows reaping children.
, Eric W. Biederman
, (Wed Apr 11, 1:17 pm)
Re: init's children list is long and slows reaping children.
, Oleg Nesterov
, (Wed Apr 11, 1:19 pm)
Re: init's children list is long and slows reaping children.
, Bill Davidsen
, (Wed Apr 11, 2:24 pm)
Re: [patch] uninline remove/add_parent() APIs
, Andrew Morton
, (Wed Apr 11, 3:06 pm)
Re: [patch] uninline remove/add_parent() APIs
, Eric W. Biederman
, (Thu Apr 12, 3:45 am)
Re: [patch] uninline remove/add_parent() APIs
, Roland McGrath
, (Thu Apr 12, 3:50 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v2 11/11] sched: update tg->shares after cpu.shares write
Ingo Molnar
Re: [RFC] Cpu-hotplug: Using the Process Freezer (try2)
Michal Nazarewicz
Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configur...
Eric W. Biederman
Re: init's children list is long and slows reaping children.
Jeffrey V. Merkey
Re: Versioning file system
git
:
Matthieu Moy
Re: Bugs in Gitosis
Daniel Barkalow
Re: About git and the use of SHA-1
David Lang
Re: mingw, windows, crlf/lf, and git
Shawn O. Pearce
Re: Bugs in Gitosis
Junio C Hamano
Re: [PATCH 14/21] Convert ce_path_match() to use struct pathspec
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
Cong Wang
Re: [PATCH] s2io: add dynamic LRO disable support
Tobacco New Year Promo
Eric Dumazet
Re: [PATCH] net: implement emergency route cache rebulds when gc_elasticity is exc...
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
of/flattree: merge early_init_dt_scan_memory() common code
Linux Kernel Mailing List
b43: N-PHY: add some registers and structs definitions
Linux Kernel Mailing List
powerpc: Move /proc/ppc64 to /proc/powerpc and add symlink
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Tony Abernethy
Re: The Atheros story in much fewer words
Nick Holland
Re: 1 out of 3 hunks failed--saving rejects to kerberosV/src/lib/krb5/crypto.c.rej
Colocation donated by:
Syndicate