X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Fri, 16 Jan 2009 16:45:48 +0000 Message-ID: Subject: Re: how to get mmap page size? From: Jay Foad To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Corinna Vinschen wrote: > Right. The reason is that mmap started to map memory top down at one > point to fix a problem with Windows Vista. The mechanism to align > the map always to 64K is still in Cygwin, but it currently doesn't > work for files. I'll have a look into fixing that for Cygwin 1.7. OK, thanks. In the mean time I guess I'll just use a hard coded value of 4K for the page size in my application. Thanks, Jay. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/