Joe Korty joe.korty@ccur.com writes:
Hi Arne, First first applied only the memset change then I applied the whole patch.
The memset-only change did indeed speed up the memset. It is now instantaeous. The speedup seems too great to me, it implies that I've no-oped memset somehow.
Well, RAMTOP is what, 16MB? DDR2 (peak) transfer rates are 100-500 times that per second. There's reason that memset operation should be taking any noticeable amount of time.
Then I applied the whole patch. I had to change the "#if CONFIG_ARCH_X86" to "#if 1" as CONFIG_ARCH_X86 doesn't seem to be set. With that single change to your patch I see a speed-up to 'no delays, anywhere'; but now the execution patch is quite a bit different, we are in a warm reset infinite loop.
That's interesting. What's happening at the end there, before the warm reset?