Load size limitation

From: Paul Sokolovsky <pmiscml_at_gmail.com>
Date: Fri, 15 Jun 2007 02:25:43 +0300

Hello haret,

  Further moving towards live ramdisks stuff... WinCE alloc memory
limits strike again - unable to load some 16Mb initrd. This time I
finally coded mmap-based solution, with it I was able to load 27Mb
initrd (though wince complained with low memory dialog; all that on
hx4700 after hard reset).

  Another issue I hit during experiments is that initrd buffer wanted
to overwrite itself. I fixed that with memmove-like solution, moving
blocks from the end instead of beginning.

  Patch is attached, comments welcome. I'm not sure we just should
replace old alloc code with new - we faced already just too much
issues to collect and keep different allocation algorithms about. As
for selection of them and defaults, worth thinking.

-- 
Best regards,
 Paul                          mailto:pmiscml_at_gmail.com

Received on Thu Jun 14 2007 - 19:25:46 EDT

This archive was generated by hypermail 2.2.0 : Thu Jun 14 2007 - 19:26:00 EDT