1 diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c
2 index d15b49f6fd..14a58d67cb 100644
3 --- a/dlls/ntdll/virtual.c
4 +++ b/dlls/ntdll/virtual.c
5 @@ -1894,15 +1894,23 @@ void virtual_init_threading(void)
7 void virtual_get_system_info( SYSTEM_BASIC_INFORMATION *info )
18 info->KeMaximumIncrement = 0; /* FIXME */
19 info->PageSize = page_size;
20 info->MmLowestPhysicalPage = 1;
21 info->MmHighestPhysicalPage = 0x7fffffff / page_size;
23 + phys_pages = sysconf( _SC_PHYS_PAGES );
24 + info->MmHighestPhysicalPage = max(1, phys_pages);
29 @@ -1910,6 +1918,7 @@ void virtual_get_system_info( SYSTEM_BASIC_INFORMATION *info )
30 info->MmHighestPhysicalPage = max(1, total / page_size);
34 info->MmNumberOfPhysicalPages = info->MmHighestPhysicalPage - info->MmLowestPhysicalPage;
35 info->AllocationGranularity = get_mask(0) + 1;
36 info->LowestUserAddress = (void *)0x10000;