Re: question on symbol exports

Chris Friesen
2005-02-08T15:37:08Z

Dan Malek wrote:
>
> On Feb 7, 2005, at 4:35 PM, Benjamin Herrenschmidt wrote:
>
>> Interesting... more than no swap, you must also make sure you have no
>> r/w mmap'ed file (which are technically equivalent to swap).
>
>
> Yeah, I kinda had a similar thought. Just because you aren't
> swapping doesn't mean the VM subsystem isn't looking at dirty bits,
> too. It could potentially steal a page that it thinks can be replaced
> from either a zero-fill or reading again from persistent storage.

In our existing case, the app also mlock()s the pages in question. This
should get around these two possible sources of inaccuracy.

Chris