No subject

Tue Aug 30 17:20:58 CDT 2005

isn't documented. From the documentation, I would have expected the Wine code
to work - it doesn't seem unreasonable to me.

I think the FreeBSD kernel code needs to change. If this is to happen, it
will only be in the FreeBSD5 tree. It is too late in the FreeBSD4 branch to
make that sort of change since it's not really a bug fix.

To get Wine to work on FreeBSD4, there needs to be a way of making the
reservation code optional. A simple mmap test in configure which snaffles
memory above 0x80000000 and then tries to mmap some more memory without
specifying a fixed address would detect if mmap is behaving in a way that
would allow the Wine reservation code to function.

For FreeBSD5, which will become the stable branch sometime soon, I think
the kernel code needs to change. I have a FreeBSD src commit bit, but I'm not
a vm person, so I can only prototype a change and submit it for review. I'm
not sure if the other developers will regard this change favourably, though.
They may take the attitude that if Wine can be made to work with the FreeBSD
kernel code as is, then Wine should be coded accordingly.

If the Wine code was restructured to make the reservation code optional,
that would cover both FreeBSD4 and FreeBSD5. Then, if the FreeBSD mmap
algorithm was to change in the future, the build could start using the
reservation code at that time.

John Birrell

More information about the wine-devel mailing list