Re: [RFC PATCH] explicitly mark recursion count

Pavel Machek
2004-06-01T12:21:21Z

Hi!

> > So effectively, it comes down to the recursive paths. Unless someone
> > comes up with a semantical parser that can figure out the maximum
> > number of iterations, we have to look at them manually.
>
> Linus, Andrew, would you accept patches like the one below? With such
> information and assuming that the comments will get maintained, it's
> relatively simple to unroll recursions and measure stack comsumption
> more accurately.

Perhaps some other format of comment should be introduced? Will not
this interfere with linuxdoc?
Pavel

--
934a471f20d6580d5aad759bf0d97ddc