Improved copy_page() function, about 30% speed up for mpc860!
Joakim Tjernlund
joakim.tjernlund at lumentis.se
Wed Mar 5 09:01:59 EST 2003
>
>
> Joakim Tjernlund wrote:
>
> > Does this workaround also work for dcbz on kernel addresses?
>
> It may, depending upon the silicon revision. :-)
>
> IIRC, the real reason for this code is to work around errata in
> some silicon versions where the DAR isn't loaded properly. In
> addition, this also helps when we use kernel debuggers for setting
> breakpoints when the text area is write enabled.
I can't find any further info about this bug/workaround. There is nothing in
linux that indicates that the workaround is dependant on any revision.
Further, dcbi and dcbz are pretty similar in behavior w.r.t TLB error so
I suspect that if this works for dcbi it also works for dcbz, only
on kernel addresses though.
Maybe user space also can be fixed with instruction decoding
as Daniel said even if it's ugly. Then you would not have to worry about
apps/libs using dcbz, at least it would work but perhaps the performance sucks
Tom, can you shed some light on this? The BK log lists you as the one
who committed this change.
> If nothing else, you are learning more than you bargained for. ;-)
Definitly :-)
Jocke
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev
mailing list