From: Ramkumar Ramachandra Date: Thu, 24 Jun 2010 18:43:55 GMT Subject: Re: [PATCH 3/9] Add memory pool library Message-ID: In-Reply-To: <20100624105339.GC12376@burratino> Hi Jonathan, Jonathan Nieder wrote: > From: David Barr > > Add a memory pool library implemented using C macros. The obj_pool_gen() > macro creates a type-specific memory pool API. Until some sort of mmap is implemented, I doubt we can do much better than this. By marking all the generated functions MAYBE_UNUSED, we're actually suppressing more warnings than intended. Maybe we can avoid it and somehow find a way to mark only those functions that are really unused? Perhaps an extra parameter in obj_pool_gen? -- Ram