Module: wine Branch: master Commit: e7721130712fe28503f03b0406337cc78586bb7e URL: https://gitlab.winehq.org/wine/wine/-/commit/e7721130712fe28503f03b0406337cc...
Author: Martin Storsjö martin@martin.st Date: Wed Jan 24 13:37:35 2024 +0200
ntdll: Reduce fixme logging for large numbers of cores.
Once we've reached the condition for skipping a core, we will skip all other cores in the same range as well - don't print a fixme message for each of them.
Signed-off-by: Martin Storsjö martin@martin.st
---
dlls/ntdll/unix/system.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/dlls/ntdll/unix/system.c b/dlls/ntdll/unix/system.c index e55ec9e1137..d2df1dd50c2 100644 --- a/dlls/ntdll/unix/system.c +++ b/dlls/ntdll/unix/system.c @@ -931,11 +931,7 @@ static NTSTATUS create_logical_proc_info(void) unsigned int phys_core = 0; ULONG_PTR thread_mask = 0;
- if (i > 8 * sizeof(ULONG_PTR)) - { - FIXME("skipping logical processor %d\n", i); - continue; - } + if (i > 8 * sizeof(ULONG_PTR)) break;
snprintf(name, sizeof(name), core_info, i, "physical_package_id"); f = fopen(name, "r");