https://bugs.exim.org/show_bug.cgi?id=1749

--- Comment #8 from Zoltan Herczeg <hzmes...@freemail.hu> ---
> Then mmap it once writable to edit the JIT code; when you're finished, mmap 
> it execable instead.

Here comes the first question: PCRE-JIT support multithreading, where one
thread can compile a new JIT code while another thread executes a compiled JIT
code. If I cannot map it as both writable and executable, how can I handle it?

If it is not possible, I need to allocate 4K aligned spaces for all compiled
patterns, which wastes memory, but writing and executing can be separated. And
that does not even need any temporary files.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to