mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: Ben LaHaise <bcrl@redhat.com>
Cc: Manfred Spraul <manfred@colorfullife.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] zero^H^H^H^Hsingle copy pipe
Date: Mon, 7 May 2001 16:04:46 -0700 (PDT)	[thread overview]
Message-ID: <15095.10766.342088.612404@pizda.ninka.net> (raw)
In-Reply-To: <Pine.LNX.4.33.0105071243450.8156-100000@devserv.devel.redhat.com>
In-Reply-To: <001601c0d713$d60a17b0$5517fea9@local> <Pine.LNX.4.33.0105071243450.8156-100000@devserv.devel.redhat.com>


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

  parent reply	other threads:[~2001-05-07 23:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.989055541.17259.linux-kernel2news@redhat.com>
2001-05-07 16:15 ` Ben LaHaise
2001-05-07 16:35   ` Manfred Spraul
2001-05-07 16:49     ` Ben LaHaise
2001-05-07 23:04     ` David S. Miller [this message]
2001-05-07 23:05   ` David S. Miller
     [not found] <E14wscv-00046J-00@the-village.bc.nu>
2001-05-07 21:48 ` Manfred Spraul
2001-05-05 13:05 Manfred Spraul
     [not found] ` <m2wv7vk2xi.fsf@boreas.yi.org.>
     [not found]   ` <3AF45FAB.595951F8@colorfullife.com>
     [not found]     ` <m2k83vjyrz.fsf@boreas.yi.org.>
     [not found]       ` <3AF473F8.F01EF82A@colorfullife.com>
2001-05-07 17:01         ` John Fremlin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15095.10766.342088.612404@pizda.ninka.net \
    --to=davem@redhat.com \
    --cc=bcrl@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®