Re: Worst recursion in the kernel
From: Martin Waitz
Date: Thu Dec 04 2003 - 10:09:54 EST
hi :)
On Wed, Dec 03, 2003 at 10:57:43PM +0000, Russell King wrote:
> Yes, but the condition of the /data/ is such that it will not recurse.
>
> A pure "can this function call that function" analysis ignoring the
> state of the data will say this will infinitely recuse. Include
> the data, and you'll find it has a very definite recursion limit.
but it makes sense to restrucure the code to make it more
readable/understandable even if it can be proven that the code is
correct
--
CU, / Friedrich-Alexander University Erlangen, Germany
Martin Waitz // Department of Computer Science 3 _________
______________/// - - - - - - - - - - - - - - - - - - - - ///
dies ist eine manuell generierte mail, sie beinhaltet //
tippfehler und ist auch ohne grossbuchstaben gueltig. /
Attachment:
pgp00001.pgp
Description: PGP signature