lkml.org 
[lkml]   [2001]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] zero^H^H^H^Hsingle copy pipe

Ben LaHaise writes:
> and then use a map_mm_kiobuf (which is
> map_user_kiobuf but with an mm parameter) for the portion of the buffer
> that's currently being copied. That improves code reuse and gives us a
> few primatives that are quite useful elsewhere.

If it has roughly the same cost as Manfred's copy_user thing, it is
therefore roughly equivalent.

If this map_mm_kiobuf() thing would cost more (I think it would
because it would be using kiobufs when for this case there is
absolutely no need for them) then why? "It's a clean interface
everyone can use" is not an acceptable answer when the clean interface
costs significantly more than the straightforward approach.

Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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