> 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.

> 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.

Reply via email to