On Fri, Jul 4, 2014 at 12:02 PM, Yuri Gribov <[email protected]> wrote: >> 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. > > I may be missing something but I thought that sum of small frames may > grow large in e.g. message-driven apps.
Sure. You can madvise a few small unused frames at once. I only fear large extra complexity. > >> Also, madvise is a syscall so we will trade RAM for CPU. > > Yeah but we don't have to call madvise on every stack deallocation. > > -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.
