From owner-freebsd-arch Mon Jun 19 11:49:24 2000 Delivered-To: freebsd-arch@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 57C6237BD76 for ; Mon, 19 Jun 2000 11:49:18 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e5JIlFI14912; Mon, 19 Jun 2000 11:47:15 -0700 (PDT) Date: Mon, 19 Jun 2000 11:47:15 -0700 From: Alfred Perlstein To: Poul-Henning Kamp Cc: arch@FreeBSD.ORG Subject: Re: kblob discussion. Message-ID: <20000619114715.G26801@fw.wintelcom.net> References: <20000619111309.E26801@fw.wintelcom.net> <46591.961439389@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <46591.961439389@critter.freebsd.dk>; from phk@critter.freebsd.dk on Mon, Jun 19, 2000 at 08:29:49PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Poul-Henning Kamp [000619 11:30] wrote: > In message <20000619111309.E26801@fw.wintelcom.net>, Alfred Perlstein writes: > >oops, you can find the preliminary kblob diffs over here: > > > >http://people.freebsd.org/~alfred/kblob/kblob-final.diff > > > >It's a new syscall, less overhead than sendfile and useful for > >serving small chunks of data very quickly. > > Can't we combine it with sendfile and call it "sendobject" instead ? Hmm, that's certainly possible, I can wrap the kblobsend syscall and not export it to userland and provide a sendobject facility that would automagically call the private kblobsend or sendfile depending on the descriptor passed in. I'll look into it. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message