From: Eric Paris Date: Mon, 2 Apr 2012 17:15:44 +0000 (-0400) Subject: LSM: shrink the common_audit_data data union X-Git-Tag: v3.4-rc2~20^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c62af68a403ef1655546bd3e021070c8508573;p=pandora-kernel.git LSM: shrink the common_audit_data data union After shrinking the common_audit_data stack usage for private LSM data I'm not going to shrink the data union. To do this I'm going to move anything larger than 2 void * ptrs to it's own structure and require it to be declared separately on the calling stack. Thus hot paths which don't need more than a couple pointer don't have to declare space to hold large unneeded structures. I could get this down to one void * by dealing with the key struct and the struct path. We'll see if that is helpful after taking care of networking. Signed-off-by: Eric Paris Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed