> How about moving the in_interrupt() test into
> out_of_line_copy? The objection is that that's the case
> where you really want it fast.
It really wants to be inline code. It should come out very small.
> AMD says 3DNow PREFETCH is ok in interrupts, so is that test
> even necessary? It might be worthwhile to issue a prefetch
> before doing anything else, unless there are lots of really
You could stick a prefetch in early yes. But small copies are often
L1->L1 so its a loss.
As to the general in_interrupt case the problem is that you need to save
the FPU context and restore it when you do 3DNow/MMX2 stuff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:23 EST