From noreply at github.com Thu Oct 15 09:51:38 2020 From: noreply at github.com (Lucas Holt) Date: Thu, 15 Oct 2020 06:51:38 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 36d4a2: With some popular multiplayer games (such as Count... Message-ID: <MidnightBSD/src/push/refs/heads/master/6112b4-525183@github.com> Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: 36d4a2f50f8e11ae033ea4d9359411ac7357b6d3 https://github.com/MidnightBSD/src/commit/36d4a2f50f8e11ae033ea4d9359411ac7357b6d3 Author: Lucas Holt <luke at foolishgames.com> Date: 2020-10-15 (Thu, 15 Oct 2020) Changed paths: M sys/compat/linprocfs/linprocfs.c Log Message: ----------- With some popular multiplayer games (such as Counter-Strike: Global Offensive) the Linux Steam client likes to occasionally scan the game process memory, presumably as part anti-cheat measures. Turns out the client also expects each inode entry to be followed by a space character, otherwise the parsing code crashes. Obtained from FreeBSD: https://reviews.freebsd.org/rS366722 Commit: 525183903f4ea90879274aada69059d5aeda888f https://github.com/MidnightBSD/src/commit/525183903f4ea90879274aada69059d5aeda888f Author: Lucas Holt <luke at foolishgames.com> Date: 2020-10-15 (Thu, 15 Oct 2020) Changed paths: M sys/dev/hyperv/netvsc/if_hn.c Log Message: ----------- Hyper-V: hn: Relinquish cpu in HN_LOCK to avoid deadlock The try lock loop in HN_LOCK put the thread spinning on cpu if the lock is not available. It is possible to cause deadlock if the thread holding the lock is sleeping. Relinquish the cpu to work around this problem even it doesn't completely solve the issue. The priority inversion could cause the livelock no matter how less likely it could happen. A more complete solution may be needed in the future. Obtained from: FreeBSD https://reviews.freebsd.org/rS366721 Compare: https://github.com/MidnightBSD/src/compare/6112b4c597f5...525183903f4e