https://bugs.winehq.org/show_bug.cgi?id=47270
Bug ID: 47270 Summary: User shared data thread is always created Product: Wine-staging Version: 4.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: awesie@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Due to the changes to "Fake Dlls" patch set, specifically for the 64-bit syscalls, the user_shared_data is accessed in every Wine process. While this is not incorrect, it does represent a change from the original intentions of the "user_shared_data" patch set, which was to only create this extra thread, and the associated overhead, on programs that *need* to access user_shared_data.
If this new behavior is going to stay, then it would probably be a good idea to revisit the "user_shared_data" patch set. For instance, one might simplify it to always create the user shared data thread. Alternatively, if the new behavior is undesirable, then we should find a way to prevent it.
(I am not personally convinced that the theoretical overhead is a problem. There was a long discussion about this on the old wine-staging patch submission website which no longer exists.)