[2/3] ntdll: Implement NtQuerySystemInformation/SystemLogicalProcessorInformation (try 8)

Rudolf Mayerhofer rm at eightyfive.net
Sat Oct 9 16:30:23 CDT 2010


>Try 6:
>Removed sysfs_*_exists checks since they were rejected in try 5 and 
>replaced them with the following assumptions:
>- A CPU exists when file /sys/devices/system/cpu/cpuN/topology/thead_siblings exists and 
>  at least one bit is set in the mask (processormask > 0)
>- A CPU cache exists when file /sys/devices/system/cpu/cpuN/cache/indexM/shared_cpu_map
> exists and at least one bit is set in the mask (processormask > 0)
>- A Numa node exists when /sys/devices/system/node/nodeN/cpumap exists and
> at least one bit is set in the mask (processormask > 0)

Try 7:
- Fixed the things mentioned in http://www.winehq.org/pipermail/wine-devel/2010-October/087242.html
- More comments (esp. in the part that does the NUMA node parsing)

Try 8:
- Rewritten numa dummy part (for non-numa systems) to make it easier to understand

---
 dlls/ntdll/nt.c |  304 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 304 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-2-3-ntdll-Implement-NtQuerySystemInformation-SystemLog.txt
Type: text/x-patch
Size: 12467 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101009/f2919b78/attachment-0001.bin>


More information about the wine-patches mailing list