From owner-freebsd-emulation@freebsd.org Sun Jun 11 10:24:00 2017 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EAE38C78A7A for ; Sun, 11 Jun 2017 10:24:00 +0000 (UTC) (envelope-from u-klys@aetey.se) Received: from outgoing.fripost.org (giraff.fripost.org [IPv6:2a00:1c20:4089:126c:300f:e2a1:9840:5351]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FABD2A5 for ; Sun, 11 Jun 2017 10:24:00 +0000 (UTC) (envelope-from u-klys@aetey.se) Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id 55028C7035A for ; Sun, 11 Jun 2017 12:23:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date; s=20140703; t=1497176636; x=1498991037; bh=N+6NdGqWO nEg4i/DuHbGnvkJ412VnKmmNwdyx+MSnbc=; b=ET7EmEqaVzjO4UtyXNhWCnhPf P/sgvhnUErE7eGa9CCC9o7tYQtsGtvAi5XJNHin1CiAdRpW8sTNh1cnuiyPWti96 4oMIWElq1hGK1CvXSpmD7fx4AVKlbAtDHQDGw1yr6oQVvjBx6aTHHlEycHP/7cws r2Ync5/9UVHUTgUGv0= X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id Fuc3Y-dnB1Gs for ; Sun, 11 Jun 2017 12:23:56 +0200 (CEST) Received: from smtp.fripost.org (unknown [172.16.0.6]) by outgoing.fripost.org (Postfix) with ESMTP id 37607C70357 for ; Sun, 11 Jun 2017 12:23:56 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 058DC2D6B59A for ; Sun, 11 Jun 2017 12:23:53 +0200 (CEST) Received: (qmail 23622 invoked from network); 11 Jun 2017 10:19:54 -0000 Received: from localhost (HELO aetey.se) (eh1ba719@127.0.0.1) by mail with ESMTPA; 11 Jun 2017 10:19:54 -0000 Date: Sun, 11 Jun 2017 12:23:34 +0200 From: u-klys@aetey.se To: freebsd-emulation@freebsd.org Subject: Re: linux_mremap() with MREMAP_MAYMOVE - not implemented? Message-ID: <20170611102334.GO30784@example.net> References: <20170611083717.GM30784@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170611083717.GM30784@example.net> X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 11 Jun 2017 10:24:01 -0000 On Sun, Jun 11, 2017 at 10:37:17AM +0200, u-klys@aetey.se wrote: > linux_mremap(0x2804f000,0x101000,0x201000,0x1,0x0) ERR#-12 'Cannot allocate memory' A look at the kernel source explained why. Are there any plans to implement linux_mremap() capable of growing the mapping? It is a serious deficiency, not being able to run one of the best standard C libraries available for Linux. Regards, Rune