[apparmor] [PATCH] cleanup followpos

John Johansen john.johansen at canonical.com
Wed Jul 7 18:51:28 BST 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-followpos.patch
Type: text/x-diff
Size: 562 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/apparmor/attachments/20100707/edede2c3/attachment.patch 


More information about the AppArmor mailing list