Keep a file in memory an any cost
Alain Spineux
aspineux at gmail.com
Wed May 11 21:33:09 UTC 2011
On Wed, May 11, 2011 at 10:57 PM, JB <jb.1234abcd at gmail.com> wrote:
>
> I do not know if you are aware of:
> $ man mmap
> ...
> MAP_LOCKED (since Linux 2.5.37)
> Lock the pages of the mapped region into memory in the manner of
> mlock(2). This flag is ignored in older kernels.
> ...
>
> JB
>
I missed that, thanks for the info.
--
Alain Spineux | aspineux gmail com
Monitor your iT & Backups | http://www.magikmon.com
Free Backup front-end | http://www.magikmon.com/mksbackup
Your email 100% available | http://www.emailgency.com
More information about the users
mailing list