• Advertisement
To advertise, place classifieds free ads by category in a forum as a new topic, or in the classified display ads section, or start a classifieds free blog.

Microsoft is going to ship a full Linux kernel in Windows 10

Forum for Linux & Open Source projects

Microsoft is going to ship a full Linux kernel in Windows 10

Postby smix » Tue May 07, 2019 1:30 am

Microsoft is going to ship a full Linux kernel in Windows 10
The Verge

URL: https://www.theverge.com/2019/5/6/18534 ... el-feature
Category: Technology
Published: May 6, 2019

Description: Available in testing this summer
Microsoft has surprised many in the Linux developer community in recent years. Surprises have included bringing things like adding the Bash shell to Windows, or native OpenSSH in Windows 10, and even including Ubuntu, SUSE Linux, and Fedora all in the Windows Store. Microsoft is now going even further, with plans to ship a full Linux kernel directly in Windows 10. “Beginning with Windows Insiders builds this Summer, we will include an in-house custom-built Linux kernel to underpin the newest version of the Windows Subsystem for Linux (WSL),” explains Microsoft program manager Jack Hammons. “The kernel itself will initially be based on version 4.19, the latest long-term stable release of Linux. The kernel will be rebased at the designation of new long-term stable releases to ensure that the WSL kernel always has the latest Linux goodness.” Microsoft’s integration of Linux in Windows 10 will interface with a userspace installed via the Windows Store. It’s a big shift for Microsoft, and marks the first time that the Linux kernel will be included as part of Windows. It sounds like this Linux kernel integration will be available later this year, with a Windows 10 update that’s codenamed 19H2. For developers it should dramatically improve the performance of Microsoft’s Linux subsystem in Windows. Microsoft is also promising to update this kernel through Windows Update, and it will be fully open source with the ability for developers to create their own WSL kernel and contribute changes. Microsoft also announced Windows Terminal today, a new command line app for Windows. It’s designed to be the central location for access to environments like PowerShell, Cmd, and the Windows Subsystem for Linux (WSL).
User avatar
smix
 
Posts: 1848153
Images: 1
Joined: Sat Aug 10, 2013 8:05 am
Blog: View Blog (0)

Windows 10 will soon ship with a full, open source, GPLed Linux kernel

Postby smix » Tue May 07, 2019 1:34 am

Windows 10 will soon ship with a full, open source, GPLed Linux kernel
Ars Technica

URL: https://arstechnica.com/gadgets/2019/05 ... ux-kernel/
Category: Technology
Published: May 6, 2019

Description: The new Windows Subsystem for Linux will use a real Linux kernel.
Earlier today, we wrote that Microsoft was going to add some big new features to the Windows Subsystem for Linux, including native support for Docker containers. It turns out that that ain't the half of it. The current Windows Subsystem for Linux uses a Microsoft-authored kernel component that provided the same kernel API as the Linux kernel but written from scratch by Microsoft. Essentially, it translated from Linux APIs to Windows NT kernel APIs. That worked pretty well, but the current subsystem had a few shortcomings: there was no ability to use Linux drivers, in particular file system drivers. Its file system performance, layered on top of Windows' own NTFS, was often 20 times slower than a real Linux kernel. It was also a relatively old version of the kernel; it offered approximately the set of APIs that Linux 4.4 did, and that was released in 2016. Some APIs aren't implemented at all, and others are only partially implemented to meet the needs of specific applications. All is changing with Windows Subsystem for Linux 2. Instead of emulating the Linux kernel APIs on the NT kernel, WSL 2 is going to run a full Linux kernel in a lightweight virtual machine. This kernel will be trimmed down and tailored to this particular use case, with stripped-down hardware support (since it will defer to the host Windows OS for that) and faster booting. The Linux kernel is GPLed open source; the GPL license requires that any modifications made to the code must be published and made available under the GPL license. Microsoft will duly comply with this, publishing the patches and modifications it makes to the kernel. WSL 2 will also use a similar split as the current WSL does: the kernel component will be shipped with Windows while "personalities" as provided by the various Linux distributions can be installed from the Microsoft Store. By using the Linux kernel itself, Microsoft gets all of Linux's features for free. This is why WSL 2 will support Docker containers: all the underlying infrastructure, such as cgroups, is already in the Linux kernel, and Microsoft won't need to implement the features itself. The embedded kernel will be serviced and updated by Windows Update. This also provides a big bump to performance. File system-heavy operations such as extracting a tarball can be up to 20 times faster; other activities (such as cloning source code repositories in Git) will be perhaps five times faster. WSL has already been warmly embraced by developers, as it gives a solid Linux-like development environment. WSL 2 will take that to a new level and all but eliminate the compatibility issues that WSL 1 has. The first preview of WSL 2 is due to ship in June.
User avatar
smix
 
Posts: 1848153
Images: 1
Joined: Sat Aug 10, 2013 8:05 am
Blog: View Blog (0)


  • Similar Topics
    Replies
    Views
    Last post

Return to Linux & Open Source


Mobile Device
  • 1
  • FREE CLASSIFIED ADS
    Free Classified Ads
    There are 3 ways to advertise - your choice: you can place free ads in a forum topic, in the classified display ads section, or you may start your own free blog. Please select the appropriate category and forum for the ad content before you post. Do not spam.
    Caveat emptor - let the buyer beware. Deal at your own risk and peril.
  • Advertisement