[PATCH 0/6] MR78: NSI and GetAdaptersInfo() performance improvements

Huw Davies (@huw) wine at gitlab.winehq.org
Tue May 17 03:19:22 CDT 2022


On Tue May 17 08:19:21 2022 +0000, Huw Davies wrote:
> These changes, or at least the first few, won't pick up interface
> removals which we might care about.
> It would probably be ok to cache the results for a second or so (and
> force an update if the interface isn't found).  
> A better approcach, which is on my todo list, would be a create a thread
> that listens on a netlink socket for interface changes (and figure out
> if there's an equivalent we could do on macOS).  There used to be code
> in iphlpapi that I'd written to parse the netlink messages for Android
> that might be useful.
Actually, we don't de-populate the list on interface removals, so this should be ok.  I'll take another look.

-- 
https://gitlab.winehq.org/wine/wine/-/merge_requests/78#note_934



More information about the wine-devel mailing list