[U-Boot-Users] [PATCH] mips: Bring over optimized memset()routine from Linux.

McMullan, Jason mcmullan at netapp.com
Mon Jul 7 15:50:30 CEST 2008


On Sun, 2008-07-06 at 00:32 +0200, Wolfgang Denk wrote:
> In message <20080604194815.A02FD6E7BD at mcmullan-linux.hq.netapp.com> you wrote:
> > This commit pulls over the memset() MIPS routine from Linux 2.6.26,
> > which provides a 10x to 20x speedup over the generic byte-at-a-time
> > routine. This is especially useful on platforms with manual ECC
> > scrubbing, that require all of memory to be written at least once
> > after a power cycle.
> Do you intend to comment on the questions and/or submit a cleaned up
> version of the patch?

Unfortunately, no follow-up patch is forthcoming.

I was able to use a spare DMA engine on our SOC to perform the memory
zeroing, which eliminated the need for the enhanced memcopy() routine.

Also, I am not familiar with the intricacies of MIPS exception handling
for alignment issues, so I was not able to come up with a good solution
for Shinya Kuribayashi's alignment trap issue questions.

Please retract the patch.

Jason McMullan
MTS SW
System Firmware

NetApp
724.741.5011    Fax
724.741.5166    Direct
412.656.3519    Mobile
jason.mcmullan at netapp.com
www.netapp.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080707/0141f089/attachment.pgp 


More information about the U-Boot mailing list