I haven't. Most of the fake frames are less than page size, so madvise can only be applied to large fake frames and there are just a few of them. Also, madvise is a syscall so we will trade RAM for CPU. I certainly don't want this to be the default behavior, but under a flag it may be worth a try.
--kcc On Fri, Jul 4, 2014 at 11:37 AM, Yuri Gribov <[email protected]> wrote: > All, > > Has anyone considered doing madvise(DONTNEED) on dead fake frames to save > RAM? > > -Y > > -- > You received this message because you are subscribed to the Google Groups > "address-sanitizer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
