My reason for implementing lazy FPU saving is so that I can make use of
the FPU (or MMX) for memcpy and related activities in the kernel without
having to pay the price of saving state every single time the kernel is
entered/exited, even in interrupts. At least on my box (P233MMX), an FPU
memcpy is about 45% faster on a large block copy than rep movs when you
don't have to save the FPU's state. Even on the K7 it's worth using MMX
Please note that the first version of the patch I posted is buggy, which
I'll fix and post after I return home.
-- Hi! I'm Signature Virus 99! Copy me into your .signature and join the fun!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/