15995MB available under Linux but 16329MB available under Win 7

From: Branimir Maksimovic
Date: Sat Mar 22 2014 - 00:36:32 EST

This really puzzles me.

bmaxa@maxa:~$ lspci -v -s 01:00.0
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560 Ti] (rev a1) (prog-if 00 [VGA controller])
Subsystem: CardExpert Technology Device 0801
Flags: bus master, fast devsel, latency 0, IRQ 52
Memory at f4000000 (32-bit, non-prefetchable) [size=32M]
Memory at e8000000 (64-bit, prefetchable) [size=128M]
Memory at f0000000 (64-bit, prefetchable) [size=64M]
I/O ports at e000 [size=128]
[virtual] Expansion ROM at f6000000 [disabled] [size=512K]
Capabilities: <access denied>
Kernel driver in use: nvidia

bmaxa@maxa:~$ dmesg | grep Mem
[ 0.000000] Memory: 16358808K/16721316K available (7232K kernel code, 1106K rwdata, 3456K rodata, 1324K init, 1432K bss, 362508K reserved)

Everything is clear most of reserved RAM goes to VGA mapping?

But, Windows resource monitor and task manager says just around 50MB
hardware reserved?

So I have tried different kernel boot parameters to no avail.
So question is: Does Windows magically maps VGA to upper addresses (beyond 16GB)
or simply Windows does not reports all reserved RAM?

When I disable memory remap in BIOS Windows reports 500MB more reserved,
but Linux adds this 500MB to 300MB reserved giving around 800MB.

CPU is i5 3570k, motherboard z77, 16GB of DD3 RAM, AMI BIOS.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/