GetNumaHighestNodeNumber tests

2013-07-29 Thread Chris Moeller
Here is a basic stand-alone test program, which I should probably learn how to implement into the standard testing array. On my test Windows 7 system with a single processor (4 cores), it outputs the following: Testing NtQuerySystemInformationSystemNumaHighestNodeNumber = 0x37, ...): ..

[PATCH 2/2] kernel32: Implement GetNumaHighestNodeNumber

2013-07-29 Thread Chris Moeller
From 750f684d6c836f287d7ddb427f12b28da844736a Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 29 Jul 2013 16:20:14 -0700 Subject: kernel32: Implement GetNumaHighestNodeNumber using correct NtQuerySystemInformation API --- dlls/kernel32/process.c | 25 ++--- 1 file

[PATCH 1/2] ntdll: Implement NtQuerySystemInformation class 0x37

2013-07-29 Thread Chris Moeller
From c0c3050e32d8d79596b6ec4dfc8a2a5b5ca76f8b Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 29 Jul 2013 16:19:19 -0700 Subject: ntdll: Implement NtQuerySystemInformation class 0x37, used by GetNumaHighestNodeNumber --- dlls/ntdll/nt.c| 14 ++ include/winternl.h

[PATCH 0/2] Implement basic GetNumaHighestNodeNumber

2013-07-29 Thread Chris Moeller
This patch against HEAD does the following in two parts: Part 1) Implements NtQuerySystemInformation class 0x37, which I have given the name SystemNumaHighestNodeNumber, since that appears to be all it does. It currently is limited to simulating a single node system, and returns the correct err

[1/1] kernel32: Implemented basic NUMA functions to replace the stubs

2013-07-28 Thread Chris Moeller
guess without looking very deeply into the CRT source code. From a7ae257aed539fc72f0bc37c85030f8abc181389 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Sun, 28 Jul 2013 16:23:05 -0700 Subject: kernel32: Implemented basic NUMA functions to replace the stubs --- dlls/kernel32/process.c |