From owner-freebsd-emulation@FreeBSD.ORG Tue Feb 12 08:29:25 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA73616A419 for ; Tue, 12 Feb 2008 08:29:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id 6310113C459 for ; Tue, 12 Feb 2008 08:29:25 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id m1BJa6ce072278; Mon, 11 Feb 2008 14:36:06 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Mon, 11 Feb 2008 14:35:57 -0500 User-Agent: KMail/1.6.2 References: <47B074D5.1020602@icyb.net.ua> <200802111241.34097.jkim@FreeBSD.org> <47B09DCE.6010002@icyb.net.ua> In-Reply-To: <47B09DCE.6010002@icyb.net.ua> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200802111435.59395.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.92/5778/Mon Feb 11 13:53:43 2008 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Andriy Gapon Subject: Re: bug in recent linux mmap changes ? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Feb 2008 08:29:25 -0000 On Monday 11 February 2008 02:11 pm, Andriy Gapon wrote: > on 11/02/2008 19:41 Jung-uk Kim said the following: > > On Monday 11 February 2008 11:16 am, Andriy Gapon wrote: > > [snip] > > >> I can provide more diagnostics later, if needed, but in both > >> cases I see that the last system call in a troublesome > >> thread/process is linux_mmap(). I did a brief search through > >> recent linux_mmap changes and I think that there is a bug in the > >> following commit (I am writing this hastiliy, so I haven't yet > >> tested a possible fix): > >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_m > >>achdep.c.diff?r1=1.48.2.4;r2=1.48.2.5;f=h > > > > Good catch! Can you test the attached patch? > > Jung-uk, > > your patch fixed it for me on i386, no amd64 near me at this > moment. Thank you very much! Committed (a slightly different version). Thanks! Jung-uk Kim