a verb for doing what madvise(...JEMALLOC_PURGE_MADVISE) does

Jason Evans jasone at canonware.com
Tue Sep 9 11:25:08 PDT 2014


On Sep 9, 2014, at 8:04 AM, Bradley C. Kuszmaul <bradley at mit.edu> wrote:
> When writing about malloc, I often need a verb to describe what madvise(...,MADV_DONTNEED) does on linux (and what MADV_FREE does on BSD).
> 
> Is "purge" the right verb?  Is "purge" used for other things in the mallocation world?
> 
> Any help to make my writing clearer would be appreciated!

When trying to be precise, I refer to it as "unused dirty page purging", "purge unused dirty pages", etc..  For short I use "purging", "purge", etc..  jemalloc doesn't use the term, "purge" for anything else, so it's unambiguous.

Thanks,
Jason



More information about the jemalloc-discuss mailing list