Closed ajkhoury closed 11 months ago
Thanks for the quick feedback! I've added an ifdef for the free_pages
label in the latest commit.
Looks good now! I personally wonder whether this will break the mapping if under load, but perhaps the only way to find out is to test it on real hardware (which I can't do atm). This doesn't change old kernels, should be good to merge either way. Thanks a bunch!
I've been running this all day (with decent load) using the kvm connector without issue on my Intel 8th gen PC with a Windows 10 22h2 guest
These changes remove the
tmp_vmas
argument passed toget_user_pages_remote()
as thevmas
parameter was removed fromget_user_pages_remote()
in linux kernel v6.5.0. Ref: https://lwn.net/Articles/932265/