From owner-svn-src-head@FreeBSD.ORG Sat Dec 15 21:35:12 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E06CE7B; Sat, 15 Dec 2012 21:35:12 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6C6CC8FC0A; Sat, 15 Dec 2012 21:35:10 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id XAA10491; Sat, 15 Dec 2012 23:35:02 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TjzNu-00024L-Cs; Sat, 15 Dec 2012 23:35:02 +0200 Message-ID: <50CCED04.1000101@FreeBSD.org> Date: Sat, 15 Dec 2012 23:35:00 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Pawel Jakub Dawidek Subject: Re: svn commit: r244112 - head/sys/kern References: <201212110708.qBB78EWx025288@svn.freebsd.org> <201212121046.43706.jhb@freebsd.org> <201212121658.49048.jhb@freebsd.org> <50C90567.8080406@FreeBSD.org> <50C909BD.9090709@mu.org> <50C91B32.4080904@FreeBSD.org> <50C91CD3.7030900@mu.org> <50C9206D.6080502@FreeBSD.org> <50C9271C.70803@mu.org> <20121215210333.GH1411@garage.freebsd.pl> In-Reply-To: <20121215210333.GH1411@garage.freebsd.pl> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , Alfred Perlstein , John Baldwin , svn-src-all@FreeBSD.org, Alfred Perlstein , src-committers@FreeBSD.org, Navdeep Parhar , svn-src-head@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 21:35:12 -0000 on 15/12/2012 23:03 Pawel Jakub Dawidek said the following: > On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote: >> Like what if I do gzipp'd kernel dumps next? (on my todo list) How many >> people will complain that "gzip is too dangerous in kernel context foo >> foo!!!!" >> >> Not sure, I guess I'll find out? > > Well... :) savecore(8) has an option to compress the dumps. The only use > case for compressing-while-dumping I see is small swap/dump partition. I'm > not against this change, but I would not use it myself. When you are > dumping your kernel is in undefined state, so the less code you execute in > that state the higher chances your dump will succeed. I much prefer to > either compress the dumps with savecore(8) or use ZFS dataset with > compression enabled for /var/crash/. Actually compressing core is a good thing when done right. It can speed up the core dumping process in addition to requiring less space. -- Andriy Gapon