On Friday August 10, [email protected] wrote:
> On 8/1/07, Neil Brown <[email protected]> wrote:
>
> > No, this does not use indefinite stack.
> >
> > loop will schedule each request to be handled by a kernel thread, so
> > requests to 'loop' are serialised, never stacked.
> >
> > In 2.6.22, generic_make_request detects and serialises recursive calls,
> > so unlimited recursion is not possible there either.
>
> Is that saying "before 2.6.22, a read/write on a deeply layered device
> would use a lot of stack?"
before 2.6.22, a stack of dm and/or md devices (not loop, and not
md/raid0 or md/linear) would use more stack the more devices were
involved. If you made a very deep stack, you could push the stack
over any limit you chose.
I won't say "a lot of stack" as I haven't measured the exact amount,
just "more stack as you add more devices".
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
- Re: [PATCH][RFC] 4K stacks default, not a debug thing any more...?
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]