From: Mike Christie <[EMAIL PROTECTED]>
Date: Thu, 20 Apr 2006 14:29:06 -0500

> I was wondering if it is ok to pass sendpage high mem pages. If a piece
> of code does this:
> 
> struct socket *sock;
> 
> sock->ops->sendpage(pg...)
> 
> and pg is a highmem page will the network layer do the right thing or
> should the caller check the page type and call sock_no_sendpage() for
> highmen? It looks like net/sunrpc/xprtsock.c does a check but
> drivers/scsi/iscsi_tcp.c and some others do not.

TCP and others handle this just fine, if something doesn't then it
needs to be fixed.  Any page in the page cache can be sent over this
interface.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to