[lkml]   [1997]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: csum_partial_copy_fromuser patch, #2
   From: (Alan Cox)
Date: Sun, 2 Feb 1997 17:10:33 +0000 (GMT)

Why not pass the address of a dummy long word. Thats even faster than
doing the check (assuming we only write on an error and errors are
rare anyway).

Jakub wants to have a single routine do it all, that is why. The
techniques we could do for long routines such as memset, and now the
checksum stuff especially, is to have just one routine which has all
the exception detection crap in it, but somehow to have the fault
exception fixup code know that "ahh, this was a non-foo_user
invocation, die_if_kernel()"

Yow! 11.26 MB/s remote host TCP bandwidth & ////
199 usec remote TCP latency over 100Mb/s ////
ethernet. Beat that! ////
-----------------------------------------////__________ o
David S. Miller, /_____________/ / // /_/ ><

 \ /
  Last update: 2005-03-22 13:38    [W:0.070 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site