Hello,

Samuel Thibault, on Fri 12 Aug 2016 17:27:42 +0200, wrote:
> Samuel Thibault, on Fri 12 Aug 2016 17:17:26 +0200, wrote:
> > biosmem: heap: 114f000-7a000000
> > 
> > and objdump shows:
> > 
> >     LOAD off    0x00001000 vaddr 0x81000000 paddr 0x01000000 align 2**12
> >          filesz 0x00114700 memsz 0x00114700 flags r-x
> >     LOAD off    0x00116000 vaddr 0x81115000 paddr 0x01115000 align 2**12
> >          filesz 0x0000d151 memsz 0x00039384 flags rw-
> > 
> > It seems biosmem's heap doesn't even exclude the kernel data?!
> 
> Ah, sorry, it does, I misread it. But it doesn't exclude anything else,
> apparently.

Actually it does since it's only 114f000-7a000000. 
I guess the biosmem heap was only meant for biosmem_bootalloc
allocations.

More precisely though, adding debugging to vm_page_load:

vm_page_load 10000-1000000 10000-1000000
vm_page_load 1000000-7a000000 114f000-79c41000
vm_page_load 7a000000-7ffe0000 7a000000-7ffe0000

I.e. it properly skips the kernel (1000000-114f000), but nothing else.

What is supposed to exclude everything else? (modules, VGA BIOS, etc.)

Samuel

Reply via email to