From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 27 11:55:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B053816A4CE for ; Sat, 27 Mar 2004 11:55:05 -0800 (PST) Received: from web21113.mail.yahoo.com (web21113.mail.yahoo.com [216.136.129.235]) by mx1.FreeBSD.org (Postfix) with SMTP id 8271443D54 for ; Sat, 27 Mar 2004 11:55:05 -0800 (PST) (envelope-from materribile@yahoo.com) Message-ID: <20040327195505.13415.qmail@web21113.mail.yahoo.com> Received: from [24.228.74.10] by web21113.mail.yahoo.com via HTTP; Sat, 27 Mar 2004 11:55:05 PST Date: Sat, 27 Mar 2004 11:55:05 -0800 (PST) From: Mark Terribile To: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Sun, 28 Mar 2004 05:07:54 -0800 Subject: MS_ASYNC with MS_INVALIDATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Mar 2004 19:55:05 -0000 Greetings, A friend asked me to run some Linux source on FreeBSD. It simulates a data pool management system he is using, and it includes a call msync(2) with both the MS_ASYNC and MS_INVALIDATE flags. FreeBSD does not allow this. (I tested it on my 4.8 system; I'll have access to a 5.1 system on Monday.) I ran it without the MS_ASYNC, and got very different results from the ones he reported on Linux. I'd like to be able to explain what's happening. Would someone please shed some light on why this combination of flags is disallowed, and what the intended semantics are? I suspect that either I or he has a subtle misunderstanding here. I'm not a regular reader of freebsd-hackers, so I would especially appreciate a direct copy of any reply. Thank you all for your time. Mark Terribile materribile@yahoo.com __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html