From owner-freebsd-current@freebsd.org Sun May 9 03:56:21 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7EFAE628D74 for ; Sun, 9 May 2021 03:56:21 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fd9N446tHz4ZGy for ; Sun, 9 May 2021 03:56:20 +0000 (UTC) (envelope-from dnebdal@gmail.com) Received: by mail-wm1-x334.google.com with SMTP id 4-20020a05600c26c4b0290146e1feccd8so6965817wmv.1 for ; Sat, 08 May 2021 20:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=0W3QGg09bQjD02g/i//A4CrE7UK2eSteXEj0Udh8sP8=; b=SsH6bRr/lHXbUR865fG2gjMsAS6emfs3OuHYhqvChcEhO9H+C2nngGzIraVppltN97 Sj4Z92xEc8NCgOGJ0cFA6xzHSKvB61STT4GN9vQ1vcPPMzrjFFRMZAS8V8LMvMW7uQvx JeqiKIcPGbH7Mm7ty1sz0OXDxoTQ3ydURMeJjbEYGWHnQg+YLTNWjof4VZUb8N16/Tcz cDPdeL2i/FJRMV1E4mut5fTy6Efs7YrP5eAL40tezrBXi6LHZ5oqDWLSVUl2siOgBxQU JOc8m+2Z+y/kwF00v6lhb5ajoFuEGKHfgwLsE9p/X2onr9VrgpQ27dYeaj1C0QONSp7b 92SA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=0W3QGg09bQjD02g/i//A4CrE7UK2eSteXEj0Udh8sP8=; b=FN5cEK2w/Q/KgTkeaFNuTPnLL0Jp3GWTw8tp/FRiKCI3EtrHwbizxBVMFzzt8mCKAt MF5lRWvwkKnlRFcScYZRT53SC22jrgn9cuN++VesuakzxF5ZHGZ3KHkdBesXfwijcbvH UhZaSPzyCggnwVZE7W+OzXpwrprXkfH8ARmBsUgasU7s+3qXcTN/PFJqc2sU9gs4dDkn oysEjAAYi+BoSnQIYrDAgSmuNjcCr+BW/TjdxsHsb3c3eC9FfnAr0uT2Z2AH8GlSauMP tp28wxRbhOrNaJlth8EQert1c0GufcxxIBMaIxo+xRKt8b3Xpzyq+skBZFgYoF9dWvvU tBkw== X-Gm-Message-State: AOAM530vnU4Df9v9B/aadUYves2S3x9UhsuUttq3A1r6mASOT/QqMcuQ XOl2lvWpOwCqlKCvzEvePJb8Qrvg5zFD8JCnyPx/+PBv6h4= X-Google-Smtp-Source: ABdhPJwxlV7QtDIZ6z+mXf6smnDJArK3XQwW+f8COBL+Jt748z46EDrXIOPq+t6Bepop1LB6VNn+Nvm3qws/cYB/ZSA= X-Received: by 2002:a7b:cf38:: with SMTP id m24mr18772138wmg.174.1620532578281; Sat, 08 May 2021 20:56:18 -0700 (PDT) MIME-Version: 1.0 References: <0b3d6049-f6eb-f9d4-5f20-f09ac666e949@nomadlogic.org> <92a81582-7bd4-b9f1-04b6-cbcd5eb77893@FreeBSD.org> In-Reply-To: <92a81582-7bd4-b9f1-04b6-cbcd5eb77893@FreeBSD.org> From: Daniel Nebdal Date: Sun, 9 May 2021 05:55:42 +0200 Message-ID: Subject: Re: WSLg update on 1-5-2021 - BSD / WSL Cc: Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Fd9N446tHz4ZGy X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SsH6bRr/; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dnebdal@gmail.com designates 2a00:1450:4864:20::334 as permitted sender) smtp.mailfrom=dnebdal@gmail.com X-Spamd-Result: default: False [-1.96 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MISSING_TO(2.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::334:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.955]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::334:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::334:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2021 03:56:21 -0000 On Thu, 6 May 2021 at 19:05, David Chisnall wrote: > [ Disclaimer: I work for Microsoft, but not on WSL and this is my own > opinion ] > (...) > David > Just as a counterpoint to Rozhuk's take, that all sounds sensible enough to me - FreeBSD would probably gain more from this than MS. So the WSL2 TODO would be something like this: * Ballooning driver. Seems like a proof of concept would be doable enough - could you model it as an unkillable task (userland or kernel) that wants to allocate a lot of memory, and anything it gets it hands back to the host? * Some sort of boot support. Maybe as a shim that chainloads an unmodified kernel? Probably finicky, but also self-contained. * File systems. Is / also 9p-over-HyperV-channels? If so that's kind of crucial and perhaps the hardest part. Oh, and how does the terminal work? You support multiple ttys, so I guess it's not straight emulated serial? -- Daniel