
18 Dec
2006
18 Dec
'06
6:28 p.m.
On Tue, Dec 19, 2006 at 12:26:29AM +0100, ls-haskell-developer-2006@m-e-leypold.de wrote:
You could just mlock() everything allocated by the RTS...
Brute force. :-)
I would call it simplicity ;-) This way you are also guarding yourself against inadvertenty leaking clues about the key to non mlock'ed memory (cause everything is mlock'ed). Of course, the question is: how much memory will the program use.
Certainly the most simple way to do it. But is that option already here (say in ghc), or would one have to patch the runtime for that?
That's nitpicking :-) Best regards Tomasz