Re: Oops in pdflush

Andrew Morton
2004-02-28T12:00:34Z

Andrew Morton <akpm@osdl.org> wrote:
>
> Keith Owens <kaos@sgi.com> wrote:
> >
> > >So if I'm reading this right, we get a case that looks like unbounded
> > >recursion:
> > >
> > > pdflush -> start_one_pdflush_thread -> kernel_thread -> pdflush ...
> > >
>
> Yes. Ow. Thanks.

Having just looked at the code, I don't understand the problem.

If kernel thread A starts kernel thread B and kernel thread B starts
kernel thread C and so on, how does that cause stack windup?