This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Constant trampoline pages
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Haley <aph at redhat dot com>, libffi-discuss at sourceware dot org
- Date: Mon, 26 Jan 2015 09:31:12 -0800
- Subject: Re: Constant trampoline pages
- Authentication-results: sourceware.org; auth=none
- References: <54C28ACB dot 8030702 at redhat dot com> <54C61091 dot 1060609 at redhat dot com>
On 01/26/2015 02:01 AM, Andrew Haley wrote:
> It looks a lot better than what we have now. I don't quite get how a
> single page of allocated trampolines can suffice, though, even after
> reading the code.
Huh? That's why tramp-raw.c is able to re-map the trampoline page
multiple times.
After that you've got a normal sort of fixed-size object heap allocation
problem. One example is in the tramp-heap.c file, but there are others.
r~