From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 23 06:30:37 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3732516A417 for ; Thu, 23 Nov 2006 06:30:37 +0000 (UTC) (envelope-from kamalpr@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36FB143D53 for ; Thu, 23 Nov 2006 06:30:02 +0000 (GMT) (envelope-from kamalpr@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so741548nfc for ; Wed, 22 Nov 2006 22:30:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=hzGxgc7p6FLp0LPVPYDEi67gBOqvge8fq9lp/9dawnYu3BxxtjCVblNRL65KgJwpVOJitI5BNcTCAheCgKwfVN05M37wKbotfBt9U6n5r90ZLGJ+INABetE5E4I5dgFq0Nzyyzjz3ayCbEDBFE4iAX0jEVMlpjb4dVgTdMo70fw= Received: by 10.82.142.9 with SMTP id p9mr1370307bud.1164263434736; Wed, 22 Nov 2006 22:30:34 -0800 (PST) Received: by 10.82.171.9 with HTTP; Wed, 22 Nov 2006 22:30:34 -0800 (PST) Message-ID: Date: Thu, 23 Nov 2006 12:00:34 +0530 From: "Kamal R. Prasad" Sender: kamalpr@gmail.com To: "Bharma Ji" In-Reply-To: <67beabb0611221202l2bb9a320o601feff7e7b3aa68@mail.gmail.com> MIME-Version: 1.0 References: <67beabb0611221202l2bb9a320o601feff7e7b3aa68@mail.gmail.com> X-Google-Sender-Auth: 469423d6e5fe77b0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Is there any way to avoid copy between the kernel and userland X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 06:30:37 -0000 If you create a pseudo- device with an mmap() interface -that should do the job. regards -kamal On 11/23/06, Bharma Ji wrote: > > Hi > I am looking for any FreeBSD facility that will allow a userland process > to > pass data to the kernel without doing a copyin or copyout e.g. using a > shared data structure (queue? ) for example? Any pointers will be useful > Thanks > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >