On Sat Jun 1 14:59:25 2024 +0000, Vibhav Pant wrote:
changed this line in [version 5 of the diff](/wine/wine/-/merge_requests/5769/diffs?diff_id=116193&start_sha=900c80a1f7308307e1b8a643f8ed9ded07e67b98#791681ff2a6e63ef1234735237aa6da70dcbcf32_1746_1744)
Ah, thanks for the explanation! I have removed the syscall and its associated function, and moved this to `server/mapping.c`. `create_user_data_mapping` sets `user_shared_data->LargePageMinimum` after determining the minimum huge page size.
I tried to initially see if this could be done in `wineboot`, which is where most of the fields in USER_SHARED_DATA seem to be initialized, but that seems undoable unless we add a unixlib component to the program (which I don't know is possible to begin with), since it's entirely PE code.