From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757635Ab0JRSS1 (ORCPT ); Mon, 18 Oct 2010 14:18:27 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:54677 "EHLO e5.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753439Ab0JRSS0 (ORCPT ); Mon, 18 Oct 2010 14:18:26 -0400 Subject: Re: ima: use of radix tree cache indexing == massive waste of memory? From: Mimi Zohar To: Dave Chinner Cc: Andrew Morton , Kyle McMartin , James Morris , Christoph Hellwig , kernel@lists.fedoraproject.org, Mimi Zohar , warthog9@kernel.org, linux-kernel@vger.kernel.org, "H. Peter Anvin" , Serge Hallyn , Linus Torvalds , mingo@elte.hu In-Reply-To: <20101018092917.GJ29677@dastard> References: <20101016065206.GO4681@dastard> <20101016192027.GA6883@infradead.org> <20101017004945.GE1614@infradead.org> <20101017054008.GA16383@elte.hu> <20101017184652.GB28060@infradead.org> <20101018062530.GD8332@bombadil.infradead.org> <20101017233620.0db45dd9.akpm@linux-foundation.org> <20101018092917.GJ29677@dastard> Content-Type: text/plain; charset="UTF-8" Date: Mon, 18 Oct 2010 09:31:00 -0400 Message-ID: <1287408660.2516.2.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2010-10-18 at 20:29 +1100, Dave Chinner wrote: > On Sun, Oct 17, 2010 at 11:36:20PM -0700, Andrew Morton wrote: > > On Mon, 18 Oct 2010 02:25:30 -0400 Kyle McMartin wrote: > > > > > Subject: [PATCH] ima: allow it to be completely disabled (and default to off) > > > > Good enough as a short-term thing I guess. > > > > But the memory consumption which David described is plain nuttiness and > > needs to be fixed, presumably by using a more appropriate data structure > > for lookups. > > > > However unless I missed it, nobody has yet stated that they intend to > > fix this? > > I think Eric said he is going to look at it. > > Cheers, > > Dave. Am looking at it as well. Mimi