Re: [PATCH v3 0/9] x86/module: rework ROX cache to avoid writable copy

2025-01-29 Thread Lorenzo Stoakes
Hi Mike, I bisected issues with the kernel booting correctly to an earlier revision of this series [2]. I have now tested this series in the same environment and found that it functions correctly with no issues, so feel free to add: Tested-by: Lorenzo Stoakes Cheers, Lorenzo [2]:https://lore.k

Re: [PATCH v3 0/9] x86/module: rework ROX cache to avoid writable copy

2025-01-27 Thread Peter Zijlstra
On Sun, Jan 26, 2025 at 09:47:24AM +0200, Mike Rapoport wrote: > v3 changes: > * instead of adding a new module state handle ROX restoration locally in > load_module() as Petr suggested OK, updated the patches I have pending for post -rc1.

[PATCH v3 0/9] x86/module: rework ROX cache to avoid writable copy

2025-01-25 Thread Mike Rapoport
From: "Mike Rapoport (Microsoft)" Hi, Following Peter's comments [1] these patches rework handling of ROX caches for module text allocations. Instead of using a writable copy that really complicates alternatives patching, temporarily remap parts of a large ROX page as RW for the time of module