From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754700Ab0JRJaK (ORCPT ); Mon, 18 Oct 2010 05:30:10 -0400 Received: from bld-mail13.adl6.internode.on.net ([150.101.137.98]:55246 "EHLO mail.internode.on.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750718Ab0JRJaJ (ORCPT ); Mon, 18 Oct 2010 05:30:09 -0400 Date: Mon, 18 Oct 2010 20:29:17 +1100 From: Dave Chinner To: Andrew Morton Cc: 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, eparis@redhat.com Subject: Re: ima: use of radix tree cache indexing == massive waste of memory? Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101017233620.0db45dd9.akpm@linux-foundation.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Dave Chinner david@fromorbit.com