Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757331AbXJCOid (ORCPT ); Wed, 3 Oct 2007 10:38:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751241AbXJCOiW (ORCPT ); Wed, 3 Oct 2007 10:38:22 -0400 Received: from twin.jikos.cz ([213.151.79.26]:35010 "EHLO twin.jikos.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751101AbXJCOiU (ORCPT ); Wed, 3 Oct 2007 10:38:20 -0400 Date: Wed, 3 Oct 2007 16:37:54 +0200 (CEST) From: Jiri Kosina To: Tetsuo Handa cc: a.p.zijlstra@chello.nl, kaigai@kaigai.gr.jp, jmorris@namei.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, chrisw@sous-sol.org Subject: Re: [TOMOYO 05/15](repost) Domain transition handler functions. In-Reply-To: <200710032326.FJF32915.OQOOHLMtFSFJFV@I-love.SAKURA.ne.jp> Message-ID: References: <200710032204.DFF51552.OFOSOFMVQtHLJF@I-love.SAKURA.ne.jp> <470395B3.2020904@kaigai.gr.jp> <200710032259.HJF90663.OFMLOJtQHOFVSF@I-love.SAKURA.ne.jp> <1191420442.5599.12.camel@lappy> <200710032326.FJF32915.OQOOHLMtFSFJFV@I-love.SAKURA.ne.jp> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 18 On Wed, 3 Oct 2007, Tetsuo Handa wrote: > Regarding my singly-linked list, no entries are removed from the list. > It's append only (like CD-R media). I set is_deleted flag of a entry > instead of removing the entry from the list. Why so? This smells like a horrible leaking of memory. How fast can the list grow during the lifetime of the system? -- Jiri Kosina - 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/