Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262960AbUFBOSq (ORCPT ); Wed, 2 Jun 2004 10:18:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262972AbUFBOSq (ORCPT ); Wed, 2 Jun 2004 10:18:46 -0400 Received: from fw.osdl.org ([65.172.181.6]:12936 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S262960AbUFBOPp (ORCPT ); Wed, 2 Jun 2004 10:15:45 -0400 Date: Wed, 2 Jun 2004 07:15:07 -0700 (PDT) From: Linus Torvalds To: =?iso-8859-1?Q?J=F6rn?= Engel cc: Horst von Brand , Pavel Machek , Andrew Morton , Arjan van de Ven , Ingo Molnar , Andrea Arcangeli , Rik van Riel , linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] explicitly mark recursion count In-Reply-To: <20040602131623.GA23017@wohnheim.fh-wedel.de> Message-ID: References: <200406011929.i51JTjGO006174@eeyore.valparaiso.cl> <20040602131623.GA23017@wohnheim.fh-wedel.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 770 Lines: 25 On Wed, 2 Jun 2004, J?rn Engel wrote: > > For a->b->c->a type recursions, I also need to identify all involved > functions in the correct order, that's where my ugly format comes > from. Why? You really only need to know that _one_ of the entries break the recursion, and you need to know what the break depth is for that one entry. So for example, if "c" is annotated with "max recursion: 5", then you know that the above loop will recurse at most 5 times. I don't see why you need any other information. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/