Explore the process of enhancing Linux kernel functionality to improve Windows game performance through Wine compatibility layer in this 40-minute conference talk. Delve into the implementation of Windows APIs GetWriteWatch() and ResetWriteWatch() on Linux, focusing on memory management and write-tracking state of pages. Learn about the evolution from soft-dirty PTE flag-based to Userfaultfd's Write Protect PTE flag-based implementation, including the addition of PAGEMAP_SCAN IOCTL and Userfaultfd features. Gain insights into the challenges, constraints, and solutions encountered during development, and examine the resulting performance improvements for running Windows games on Linux systems.
Overview
Syllabus
Adding Functionality to Make Windows Games Run Faster on Linux - Muhammad Usama Anjum, Collabora
Taught by
Linux Foundation