[apparmor] [PATCH] cleanup followpos

John Johansen john.johansen at canonical.com
Wed Jul 7 19:14:33 BST 2010


On 07/07/2010 10:51 AM, John Johansen wrote:
> When creating the dfa the sets firstpos, lastpos, and followpos are computed for
> each expression tree node and then used as input to create the dfa states.
> 
> Currently they are not being freed until the nodes are destroyed, but the information
> is no longer needed once the dfa has been created.  Cleaning them up early reduces
> peak memory usage.
> 
I would like to nominate this patch for 2.5.1 as it helps reduce memory usage




More information about the AppArmor mailing list