Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262769AbVDYTel (ORCPT ); Mon, 25 Apr 2005 15:34:41 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262746AbVDYTaq (ORCPT ); Mon, 25 Apr 2005 15:30:46 -0400 Received: from dsl027-180-174.sfo1.dsl.speakeasy.net ([216.27.180.174]:16100 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id S261471AbVDYT2M (ORCPT ); Mon, 25 Apr 2005 15:28:12 -0400 Date: Mon, 25 Apr 2005 12:19:53 -0700 From: "David S. Miller" To: Avi Kivity Cc: galibert@pobox.com, linux-kernel@vger.kernel.org Subject: Re: tcp_sendpage and page allocation lifetime vs. iscsi Message-Id: <20050425121953.6b5c3278.davem@davemloft.net> In-Reply-To: <426D40D4.8050900@argo.co.il> References: <20050425170259.GA36024@dspnet.fr.eu.org> <426D40D4.8050900@argo.co.il> X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 17 On Mon, 25 Apr 2005 22:11:16 +0300 Avi Kivity wrote: > you need a completion to tell you when your buffer has been sent. you > can use the kiocb parameter to tcp_sendmsg, as it has a completion. > however, tcp_sendmsg does not appear to use it. > > in effect, you need tcp aio, but the mainline kernel does not support it > yet. Or, he could simply not try to reuse the private buffer he is giving to TCP. - 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/