mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
This workaround makes a reservation of mmap slots that are hopefully near the address of `mcode_alloc_at`. Then it unmaps those slots and lets luajit allocate a large slot for mcode.