Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 1998 13:36:34 -0700 (PDT)
From:      "Dag-Erling C. Sm\xf8rgrav" <des@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   cvs commit: src/lib/libkvm kvm_proc.c
Message-ID:  <199810122036.NAA01305@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
des         1998/10/12 13:36:33 PDT

  Modified files:
    lib/libkvm           kvm_proc.c 
  Log:
  Avoid the "Cannot allocate memory" problem that appears on heavily
  loaded systems by retrying the sysctl() with a larger buffer if it
  fails with ENOMEM. For good measure, allocate 10% more memory than
  sysctl() claims is necessary.
  
  PR:		8275
  Reviewed by:	David Greenman <dg@freebsd.org>
  
  Revision  Changes    Path
  1.22      +10 -4     src/lib/libkvm/kvm_proc.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?199810122036.NAA01305>