Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2006 12:50:22 GMT
From:      Tijl Coosemans <tijl@ulyssis.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/94413: [kernel] wine fails when increasing kern.maxdsiz
Message-ID:  <200608031250.k73CoMFH081220@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/94413; it has been noted by GNATS.

From: Tijl Coosemans <tijl@ulyssis.org>
To: bug-followup@freebsd.org
Cc: gerald@pfeifer.com
Subject: Re: kern/94413: [kernel] wine fails when increasing kern.maxdsiz
Date: Thu, 3 Aug 2006 14:46:14 +0200

 The problem is that mmap(2), when called with NULL for the addr 
 argument, only looks for free pages after the maximum data segment. 
 Given that Wine is located at the end of the first 2Gb of address space 
 (to leave room for the Windows executable), plus a maximum data segment 
 size of 1Gb, you're simply running out of user address space.
 
 There's a comment in the mmap code hinting at how this can be improved, 
 but really I don't think mmap should change (i.e. become more 
 complicated just for Wine). I'm not 100% sure, but I believe the 
 problem can be fixed by porting the Wine preloader and have it lower 
 the maximum RLIMIT_DATA.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608031250.k73CoMFH081220>