Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: Fast Pentium memcpy() corruption bug appears to be fixed (finally!) | Date | 4 Mar 1996 14:04:11 GMT |
| |
Followup to: <199603040041.TAA03610@rlk-ppp-1.aptinc.com> By author: Robert L Krawitz <rlk@tiac.net> In newsgroup: linux.dev.kernel > > I believe that I have fixed the corruption problem with my fast > memcpy() routine. The fix was to force the routine to read the first > word from both the source and destination block with conventional > instructions first. I did this in the belief that the problem was due > to a page fault at the wrong time (since this only seemed to happen > when the machine was under significant load). My guess appears (so > far) to be correct. I ran my usual test (two separate cvs diff's of > the Linux kernel concurrently) without any failures. I repeated it > with 7 concurrent cvs diff's, and had no errors, either. >
I saw on your page you use the FPU registers. How does that do with respect to the "lazy FPU regdump" feature?
-hpa -- PGP public key available - finger hpa@terminus.storm.net "The earth is but one country, and mankind its citizens." -- Bahá'u'lláh I don't work for Yggdrasil, but they sponsor the linux.* hierarchy.
| |