Re: [patch] checksum P6 asm buffer overflow fix + 686 improvements

Gregory Maxwell (linker@z.ml.org)
Fri, 28 May 1999 20:00:45 -0400 (EDT)


On Wed, 26 May 1999, Andrea Arcangeli wrote:
> Ah, I overlooked the implementation. What we care is to only run mmx if
> there is no FPU data to clobber (but we can run mmx even if the current
> task used math in some previous timeslice). So the right implementation
> should be this according to me:
>
> if (!(current->flags & PF_USEDFPU))
> checksum_mmx();
> else
> checksum_nommx();

Wont this have cache trashing problems?

-
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/