[SeaBIOS] [PATCH 3/3] ahci: alloc structs in high memory, simplify realloc

Gerd Hoffmann kraxel at redhat.com
Fri Nov 29 09:29:21 CET 2013


  Hi,

> Ideally, one wouldn't allocate in "high" ram and then go on to free
> it.  (Memory fragmentation due to malloc/free could chew up some guest
> ram.)  So, I'm not sure this is an improvement.

So, we can keep the realloc but move tmp -> high instead of tmp -> low.

cheers,
  Gerd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ahci-alloc-structs-in-high-memory.patch
Type: text/x-patch
Size: 1300 bytes
Desc: 
URL: <http://www.seabios.org/pipermail/seabios/attachments/20131129/44a7906a/attachment.patch>


More information about the SeaBIOS mailing list