commit | 718509c35413c01a866c848d019d8ca28b425bf6 | [log] [tgz] |
---|---|---|
author | Carl Shapiro <cshapiro@google.com> | Tue Sep 28 20:30:42 2010 -0700 |
committer | Carl Shapiro <cshapiro@google.com> | Tue Sep 28 20:30:42 2010 -0700 |
tree | 0a8840e7ca2a84f8a9d0320291c5bd8ae497e0b8 | |
parent | b36ea7918612c81cb42ff2021443358a9f109a6d [diff] |
After trimming, set the footprint to the number of pages in use. A trim can decrease the an mspace footprint but it will not decrease its max footprint. We need to decrease the max footprint to make any pages recovered by a trim available to external allocations. By setting the ideal footprint after a trim we lift any soft limit in effect and make the mspace footprint and max footprints equal. Change-Id: Ia6eb99634ce1d732b417a90291b110d1fc46c2e3