commit | ce93055c49a5cd0f32792bbaeeaa0fb4b788f1ee | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sun Oct 24 13:03:07 2010 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sun Oct 24 13:03:07 2010 -0700 |
tree | 8b905002c1b4cb0b3dd389e74553ef0a498f1fa4 | |
parent | 0d38791e7abf6af1edfcbbfaa6a68641938665d5 [diff] |
Use madvise(..., MADV_FREE) on OS X. Use madvise(..., MADV_FREE) rather than msync(..., MS_KILLPAGES) on OS X, since it works for at least OS X 10.5 and 10.6.