Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2004 16:05:06 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_dummynet.c
Message-ID:  <200409141605.i8EG56AF021607@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2004-09-14 16:05:06 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netinet          ip_dummynet.c 
  Log:
  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).
  
  PR:             kern/46557
  Submitted by:   Eugene Grosbein <eugen@grosbein.pp.ru>
  Reviewed by:    mlaier
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.83.2.1  +33 -9     src/sys/netinet/ip_dummynet.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409141605.i8EG56AF021607>