Re: init's children list is long and slows reaping children.

Davide Libenzi
2007-04-06T22:31:26Z

On Fri, 6 Apr 2007, Linus Torvalds wrote:

> On Fri, 6 Apr 2007, Davide Libenzi wrote:
> > >
> > > or lets just face it and name it what it is: process_struct ;-)
> >
> > That'd be fine too! Wonder if Linus would swallow a rename patch like
> > that...
>
> I don't really see the point. It's not even *true*. A "process" includes
> more than the shared signal-handling - it would include files and fs etc
> too.
>
> So it's actually *more* correct to call it the shared signal state than it
> would be to call it "process" state.

But "signal" has *nothing* to do with what the structure store nowadays,
really. It's a pool of "things" that are not Linux task specific.
IMO something like "struct task_shared_ctx" or simply "struct task_shared"
would better fit the nature of the thing.

- Davide