Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Nov 2001 15:47:47 -0800 (PST)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_dc.c if_sis.c
Message-ID:  <200111292347.fATNllI06694@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2001/11/29 15:47:47 PST

  Modified files:
    sys/pci              if_dc.c if_sis.c 
  Log:
  Per jlemon request, reintroduce some printf() when an
  mbuf allocation fails, and fix (i hope) a couple of style bugs.
  
  I believe these printf() are extremely dangerous because now they can
  occur on every incoming packet and are not rate limited. They were
  meant to warn the sysadmin about lack of resources, but now they
  can become a nice way to panic your system under load.
  
  Other drivers (e.g. the fxp driver) have nothing like this.
  
  There is a pending discussion on putting this kind of warnings
  elsewhere, and I hope we can fix this soon.
  
  Revision  Changes    Path
  1.60      +8 -3      src/sys/pci/if_dc.c
  1.39      +8 -3      src/sys/pci/if_sis.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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