[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] mmap
From: |
Andy Bennett |
Subject: |
Re: [Chicken-hackers] mmap |
Date: |
Fri, 11 Jul 2014 14:16:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.4.0 |
Hi,
> There is no way to do this. By messing around with Linux-specific
> mmap() flags, you can get Linux to prepage the whole file, paying the
> entire cost at once,
Yes. These methods don't strike me as a very good way forward.
I was thinking more along the lines of executing FFI calls in a (pool
of?) pthreads.
That would solve the issue for mmap callers as well as any APIs which
had underlying blocking calls of any type.
Regards,
@ndy
--
address@hidden
http://www.ashurst.eu.org/
0x7EBA75FF
- Re: [Chicken-hackers] library unit restructuring, (continued)
[Chicken-hackers] mmap (was: Re: library unit restructuring), Andy Bennett, 2014/07/10