Cached page issue in tcp_sendmsg

From: Bluesea (big_bluesea@yahoo.com)
Date: Thu Sep 18 2003 - 14:35:42 EST


Hello there,

When reading the source code of tcp_sendmsg(), I have
trouble understanding the part of processing cached
pages (partially quoted as following).

...
} else {
int merge = 0;
int i = skb_shinfo(skb)->nr_frags;
struct page *page = TCP_PAGE(sk);
int off = TCP_OFF(sk);
...

I know that data may be stored in the cached pages of
the socket, but I don't knwo how this scheme works,
and when is data stored in cached pages. Could anyone
help? or tell me where I can get information about
this?

Thanks,

Blusea


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html