Subject: Re: [patch] Re: lang/mono/ ... error: too few arguments to function
To: Blair Sadewitz <firstname.lastname@example.org>
From: Matthias Drochner <email@example.com>
Date: 08/09/2007 18:38:09
Takahiro Kambe <firstname.lastname@example.org> wrote:
> Is it better to disable using mremap(2) on NetBSD?
I'm not sure. It should be easy to translate the flags,
see the appended patch. (just compile-tested, I'm
illiterate in C#)
Otoh, I'm not sure whether it is a good idea to expose
such a platform dependant function to an abstract
environment. (It certainly does not belong into a
"Posix" namespace.) This will only lead to unportable
C## programs. But this was the decision of the mono
"Blair Sadewitz" <email@example.com> wrote:
> On NetBSD, I define MREMAP_MAYMOVE to 0.
As said, programs expecting Linux semantics, and
not setting MAYMOVE could assume that the address
> all of the uses of mremap that I've
> encountered used MREMAP_MAYMOVE
In that case it is a wrapper for C# programs running
in the mono VM. The programs using that call are yet
to be written (well, I hope not...).