1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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>
This commit is contained in:
Martin Storsjö 2024-01-24 13:37:35 +02:00 committed by Alexandre Julliard
parent 46c5c2d41a
commit e772113071

View file

@ -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");