commit | f1bc0bcc9dbbbf5674add3075b5efe0a93fe34f0 | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Oct 16 17:30:10 2012 +1000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Oct 20 07:54:04 2012 +0000 |
tree | 759d3a2802259143da4da7ffe0d29a9ecf933fd7 | |
parent | 5f072e1f3075bd869e0ace9f2545a85992ac0084 [diff] |
exec: Split up and tidy code_gen_buffer It now consists of: A macro definition of MAX_CODE_GEN_BUFFER_SIZE with host-specific values, A function size_code_gen_buffer that applies most of the reasoning for choosing a buffer size, Three variations of a function alloc_code_gen_buffer that contain all of the logic for allocating executable memory via a given allocation mechanism. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>