This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Constant trampoline pages


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]