Hello, This is the latest patch set of UDP memory accounting and limitation.
To reduce number of atomic access to global variable, the patch set supports per socket accounting using sk_forward_alloc like stream protocols. My colleagues and I tested the patch set on net-2.6 tree. Please consider applying. Changelog take 9 -> take 10: * supported using sk_forward_alloc * introduced several memory accounting functions with spin lock * changed detagram receive functions to be able to customize destructor * fixed accounting bugs in previous takes Changelog take 8 -> take 9: * introduced mem_schdeule functions for datargram protocols * removed protocol check function, from patch set * restructured patch set Changelog take 7 -> take 8: * sk_datagram_pages(): avoided using divide instruction * udp_recvmsg(): fixed referring released truesize in accounting Best regards, Hideo Aoki -- Hitachi Computer Products (America) Inc. -- 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