cvs commit: src/sys/netinet ip_dummynet.c
Pawel Jakub Dawidek
pjd at FreeBSD.org
Tue Sep 14 09:05:06 PDT 2004
pjd 2004-09-14 16:05:06 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_5)
Allocate memory when dumping pipes with M_WAITOK flag.
On a system with huge number of pipes, M_NOWAIT failes almost always,
because of memory fragmentation.
My fix is different than the patch proposed by Pawel Malachowski,
because in FreeBSD 5.x we cannot sleep while holding dummynet mutex
(in 4.x there is no such lock).
Submitted by: Eugene Grosbein <eugen at grosbein.pp.ru>
Reviewed by: mlaier
Approved by: re (scottl)
Revision Changes Path
18.104.22.168 +33 -9 src/sys/netinet/ip_dummynet.c
More information about the cvs-src