From: Eric Paris Date: Mon, 25 Oct 2010 18:42:05 +0000 (-0400) Subject: IMA: only allocate iint when needed X-Git-Tag: v2.6.37-rc1~106^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc7d2a3e66b40477270c3cbe3b89b47093276e7a;p=pandora-kernel.git IMA: only allocate iint when needed IMA always allocates an integrity structure to hold information about every inode, but only needed this structure to track the number of readers and writers currently accessing a given inode. Since that information was moved into struct inode instead of the integrity struct this patch stops allocating the integrity stucture until it is needed. Thus greatly reducing memory usage. Signed-off-by: Eric Paris Acked-by: Mimi Zohar Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed