From owner-cvs-all Mon Oct 12 13:36:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05143 for cvs-all-outgoing; Mon, 12 Oct 1998 13:36:41 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05123; Mon, 12 Oct 1998 13:36:35 -0700 (PDT) (envelope-from des@FreeBSD.org) From: "Dag-Erling C. Sm\xf8rgrav" Received: (from des@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA01305; Mon, 12 Oct 1998 13:36:34 -0700 (PDT) Date: Mon, 12 Oct 1998 13:36:34 -0700 (PDT) Message-Id: <199810122036.NAA01305@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libkvm kvm_proc.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 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