Re: sending large buffers to wine applications



Wolfgang Draxinger <wdraxinger@xxxxxxxxxxxxxxxx> writes:
Rainer Weikusat wrote:

A 'tmpfs' is not 'a RAM disk'. It's a file system whose
contents reside only in the page cache, eventually backed by
swap space in case of memory pressure.

You can easyly prevent a file in tmpfs from being swaped: Open,
mmap and mlock it.

Who would have guessed that mlock actually works as it is documented
to work?
.