Quite a while ago, I worked out how and when to flush caches so I
could leave my Centris' 040 running at full blast. This is the result of those
efforts.
It adds an optional "flush040()" at two places, one in mm/exec.c and one in
mm/forkexit.c, and adds an assembly file to implement that routine to the
memory manager. On my Centris 610 I was getting 2000 dhrystones/sec with
caches off on a stock 1.5.10.7 kernel; with caches enabled and my new (not
even optimized!) kernel, I get around 7000. Happy, eh?
Share & enjoy,
Chris
PS - I'm guessing that this will work for 040 accelerators, and other
M68000 machines using 040s. If anyone tries it, let me know, okay? :-)