From: Zach Brown <[EMAIL PROTECTED]>
Date: Thu, 30 Mar 2006 15:00:30 -0800
> We've had reports from customers of boxes with a week's uptime and 32k MTUs
> getting failed order-3 allocs under:
>
> udp_sendmsg .. ip_append_data .. {sock_wmalloc, sock_alloc_send_skb}
>
> I came up with the following which seems to do the right thing in a trivial
> test. It clamps the size of the first frag's allocation to a single page
> if the dev supports _SG. The rest of the message is copied into page frags
> as usual.
This idea should work. Note that this engine is used for
ICMP replies too.
What exactly are you trying to do with that "watch out for trailer_len"
thing where you subtract 2 from datalen?
-
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