From owner-freebsd-hackers@FreeBSD.ORG Wed Jan 9 17:58:47 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AFF316A41A for ; Wed, 9 Jan 2008 17:58:47 +0000 (UTC) (envelope-from deathjestr@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.224]) by mx1.freebsd.org (Postfix) with ESMTP id B954C13C442 for ; Wed, 9 Jan 2008 17:58:45 +0000 (UTC) (envelope-from deathjestr@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so168039wxd.7 for ; Wed, 09 Jan 2008 09:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hP2k75GgVtInyxeu5t5UcnUTTVjspuHDpjsR7EEaP6s=; b=q75tzoFS8mxyl1IKMF9XpjoFsOQt53ERDe5YPWCuhyTqHttRG6IfexJ695uLZGipBvfFKQDEyxOnyVa2DPYru0kxizMGAsbCKmHKCzBney+psJz1WvB3HVD4Kn3W2jyl9RukQc1qTnPbr7ZSijALRSovAh0d3zG34bUvPLaHu6U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=wkgKZ6YCfMuOj1YcbZOhShHU1CL2wMTmLZkRytNEq7g82fHXV5u8JRwkzNjYC1pyv5DenUtah2FMw+EqpEr7Rbu1cIcv7noqcSbUy7AWpsQ2/10DgPbkbb3K/erKkvKmBPS+lDub1HFrHwYDcNZ/Gq8wIaxwfe9/3yQGS2HO5OM= Received: by 10.151.12.1 with SMTP id p1mr366778ybi.83.1199899836475; Wed, 09 Jan 2008 09:30:36 -0800 (PST) Received: by 10.35.41.11 with HTTP; Wed, 9 Jan 2008 09:30:36 -0800 (PST) Message-ID: <44b564930801090930y3ce2014bldaa7e97402683ef7@mail.gmail.com> Date: Wed, 9 Jan 2008 12:30:36 -0500 From: Mike To: "Bharma Ji" In-Reply-To: <47849E42.7090201@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <67beabb0801081555v4ca3b729x294322fa724afa09@mail.gmail.com> <4784159E.9040905@FreeBSD.org> <67beabb0801081925t67f995b8hc4cc779f88c2ba@mail.gmail.com> <66462bcb31fb347796200bd5260d7cdc@gmail.com> <47849E42.7090201@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Graceful failure instead of panicking in kmem_malloc X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 17:58:47 -0000 Bharma Ji wrote: > Is there any way to make the system log and then gracefully shut off instead > of panicking? Is there any way to make the system log and then gracefully shut off while guaranteeing that the logging/shutdown procedure won't also run out memory somewhere?