From owner-freebsd-embedded@freebsd.org Thu Sep 24 12:01:35 2015 Return-Path: Delivered-To: freebsd-embedded@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 11F28A0723A for ; Thu, 24 Sep 2015 12:01:35 +0000 (UTC) (envelope-from cochard@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D29914ED for ; Thu, 24 Sep 2015 12:01:34 +0000 (UTC) (envelope-from cochard@gmail.com) Received: by lacdq2 with SMTP id dq2so5442984lac.1 for ; Thu, 24 Sep 2015 05:01:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=PA4czZQXcEO5KbgGdveh+wWbJsQn0F20qtI8Eo+shVI=; b=FUPahGl6O/zcnSedA17GL8sKa2+YEEJCwbDhYUyz0yPV58g/13vgc63y3b8vr5AvPx i8JaBUVjDn7vYJJ04+trfVim9s5FQqedkbZpDjRiTcjo/2W3yw2zzeTkkGhR2Dk4IcfD 0/k4KUDwXPTxHzR+wMuJtw3XpQ89isaeSSZnXX+6aquoKZp2l+f8Lo2Sw3F3/rVHuOZT AY03R3VZ/BLNIteo5OYLiMj6v8H9uqSrG66u0aNMAlyfJFqQwUyQtvcch0YfDsV+lIH3 gH0nh7i5Cb9IoDvKGy7ltZr+JuYXMP2YeWLYIfVu8PdjAS6P7hcqm7h7KHHja4ZXucI/ NSaQ== X-Received: by 10.112.125.102 with SMTP id mp6mr13341366lbb.46.1443096092184; Thu, 24 Sep 2015 05:01:32 -0700 (PDT) MIME-Version: 1.0 Sender: cochard@gmail.com Received: by 10.25.197.68 with HTTP; Thu, 24 Sep 2015 05:01:12 -0700 (PDT) In-Reply-To: References: <20150923160431.GB37383@nuvolo> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Thu, 24 Sep 2015 14:01:12 +0200 X-Google-Sender-Auth: c9CGlqn6Xx0qGYko1m-eRx3q7v0 Message-ID: Subject: Re: [NanoBSD] Double copy when using swap as backing? To: Warner Losh Cc: Arrigo Marchiori , FreeBSD Embedded list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Sep 2015 12:01:35 -0000 On Wed, Sep 23, 2015 at 6:53 PM, Warner Losh wrote: > > I think you are right. I have submitted patches in my mailbox that fix > this. I've been bad about integrating them because I've been thinking > of a big overhaul of nanobsd to push some of its functionality down > into the rest of FreeBSD for things like crochet and raspbsd to use > to create images rather than forcing them to reinvent the wheel... > > =E2=80=8BIf you are looking of a new killer-tools you should drop an eye on= the new poudriere feature "image": https://github.com/freebsd/poudriere/blob/master/src/share/poudriere/image.= sh This will allow to build a clean FreeBSD AND building ports into the final image too=E2=80=A6 And does poudriere support cross-building with qemu-user :-)