From owner-freebsd-current@FreeBSD.ORG Tue May 28 04:56:56 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7AD6F559 for ; Tue, 28 May 2013 04:56:56 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx1.freebsd.org (Postfix) with ESMTP id 40B8080D for ; Tue, 28 May 2013 04:56:56 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id ht10so5134005vcb.4 for ; Mon, 27 May 2013 21:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vti4IgqM6crQ6kGenJwitKhwsJMpwWVEwvH1YtWWX+s=; b=KIPyqGZDzjdOjStHgjvnqmrufgXcMSnKxw8vZ7cxwf+Ia0lxk75yIG8zL6Vyj3uDCV r9WsHLMEEhsGjp41ckgTyJojdvmcQwRz41udeCiqY92V84PSdsH7DlnpnF6kDW538RaS nxoGgrysvLMl/kj7qCtm88dEK75+rdXv+GNk5p9vUHRj9X5KlZ0oSEhW40ndi5A5kvx0 yUkwIxQqOiWQ8fIm+K2AbwQFUwrSunWrSl/DQUcTykO8b+xTdS5ZkVaCeIUdhT+Op7xR jr3Uw4an9//CTHnG36aIkTeMjWL/bL8Oyygw5qVyuGxJ71IOZ947tdo/+1DXGBwJqTXG KE8w== MIME-Version: 1.0 X-Received: by 10.220.73.135 with SMTP id q7mr16856841vcj.33.1369717014499; Mon, 27 May 2013 21:56:54 -0700 (PDT) Received: by 10.220.123.6 with HTTP; Mon, 27 May 2013 21:56:54 -0700 (PDT) In-Reply-To: <20130527233801.GA32042@onelab2.iet.unipi.it> References: <20130527233801.GA32042@onelab2.iet.unipi.it> Date: Tue, 28 May 2013 00:56:54 -0400 Message-ID: Subject: Re: copyin+copyout in one step ? From: Zaphod Beeblebrox To: Luigi Rizzo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:56:56 -0000 On Mon, May 27, 2013 at 7:38 PM, Luigi Rizzo wrote: > > say a process P1 wants to use the kernel to copy the content of a > buffer SRC (in its user address space) to a buffer DST (in the > address space of another process P2), and assume that P1 issues the > request to the kernel when P2 has already told the kernel where the > data should go: > Urm... Isn't the use of shared memory the more obvious way to transfer data between processes? Am I missing some nuance?