public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* "practical" memory allocation limit?
@ 2017-08-28  8:43 Laszlo Ersek
  2017-08-28 14:25 ` Shi, Steven
  0 siblings, 1 reply; 7+ messages in thread
From: Laszlo Ersek @ 2017-08-28  8:43 UTC (permalink / raw)
  To: edk2-devel-01; +Cc: Michael Kinney, Gao, Liming, Ard Biesheuvel

Hi,

I've been curious about it for a long time, so I guess I might as well
ask the question:

Even if OVMF's DXE phase is built for X64, and even if I give the VM
memory above 4GB -- confirmed by the MEMMAP command in the UEFI shell
--, in the OVMF log I see practically all allocations coming from the
32-bit address space.

OVMF produces all its memory resource descriptor HOBs in PEI, all
"tested". (No memory is added in DXE.) So why aren't DXE allocations
served from 64-bit space?

Something seems to be artificially limiting run-of-the-mill pool and
page allocations in X64 OVMF; what is it? (It doesn't work like this in
ArmVirtQemu.)

Thanks!
Laszlo


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-08-28 23:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-28  8:43 "practical" memory allocation limit? Laszlo Ersek
2017-08-28 14:25 ` Shi, Steven
2017-08-28 14:39   ` Laszlo Ersek
2017-08-28 15:31     ` Shi, Steven
2017-08-28 16:23       ` Andrew Fish
2017-08-28 17:36         ` Laszlo Ersek
2017-08-28 23:53         ` Rebecca Cran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox