主持人 > 博客 > 网络新闻 > 微软将在 Windows 2 10 中提供 WSL2004(Windows Subsystem for Linux)
微软将在 Windows 2 10 中提供 WSL2004(Windows Subsystem for Linux)
微软 宣布了 关于完成 WSL2 子系统(Linux 的 Windows 子系统)的测试,该子系统确保在 Windows 上启动 Linux 可执行文件,并准备好作为 Windows 10 2004 版本的一部分正式交付。
WSL2版 不同 提供成熟的 Linux 内核,而不是即时将 Linux 系统调用转换为 Windows 系统调用的模拟器。 WSL2 中的 Linux 内核不会包含在 Windows 安装映像中,而是由 Windows 动态加载并保持最新,类似于图形驱动程序的安装和更新方式。 标准的Windows更新机制将用于安装和更新内核。
建议用于 WSL2 核心 基于 Linux 4.19 内核版本,该版本使用已在 Azure 中运行的虚拟机在 Windows 环境中运行。 内核中使用的 WSL2 特定补丁包括优化,以减少内核启动时间、减少内存消耗、将 Windows 返回到 Linux 进程释放的内存,以及在内核中保留所需的最少驱动程序和子系统集。