https://bugs.winehq.org/show_bug.cgi?id=29168
--- Comment #287 from Joe Terwilliger jolyon@nixbox.com --- I can attest that the wine-staging team has implemented some of the kshared data routine, but it is incomplete and does not solve the problem the latest patch here fixed. I have patched it successfully a few times in the wine-staging releases, but it has fallen out of date due to some other extreme restructuring of that source file by the wine-staging team.
I fail to see how the latest patch here would significantly impact performance as the Windows subsystem already is apparently performing this same operation at some level, possibly in the network layer? I did experiment in raising the refresh interval wondering if that could improve performance, but it breaks the fix which leads me to believe the original code for this patch is somehow derived directly from the Windows source or compiled code. The only thing I can think of this not being accepted is this is perhaps not the right location for this particular patch.
At any rate, I agree that this could be an opt-in performance patch only enabled if specified via winecfg settings or some other switch on wine startup.