From owner-svn-src-head@FreeBSD.ORG Sat Jan 28 12:36:12 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BE4D1065675; Sat, 28 Jan 2012 12:36:12 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE4A8FC13; Sat, 28 Jan 2012 12:36:10 +0000 (UTC) Received: by eekb47 with SMTP id b47so992691eek.13 for ; Sat, 28 Jan 2012 04:36:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=ncg86tvVFiFU/MnyvAgj9LBTwq1HzLtFyJ7QtRJVCKI=; b=d/kAFNTAqc0IjblrAg0pmzkKi0eiE85pSVASePFk/pdu1v9vb6ZzcVVcOINbIukkcq hB/b1+k/+qELOzCOEPNfS2pFmEZF3LfhwnhXmeWP4Fq6tpNC4o/+Ii1DVDsPQgb/U6DD c4Hj+Rlle/XVTNXbBXVVtftBmj4ZhjE/yNNwQ= Received: by 10.14.8.210 with SMTP id 58mr1678038eer.94.1327754169869; Sat, 28 Jan 2012 04:36:09 -0800 (PST) Received: from [192.168.0.101] ([95.232.4.130]) by mx.google.com with ESMTPS id e12sm43076499eea.5.2012.01.28.04.36.06 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 Jan 2012 04:36:07 -0800 (PST) References: <201201272018.q0RKIWUD055070@svn.freebsd.org> <20120128083954.GD2135@garage.freebsd.pl> In-Reply-To: <20120128083954.GD2135@garage.freebsd.pl> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6A52DB46-4897-4D35-B727-2C3D3D01CE9C@gmail.com> X-Mailer: iPad Mail (9A405) From: K Macy Date: Sat, 28 Jan 2012 13:36:05 +0100 To: Pawel Jakub Dawidek Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Kip Macy Subject: Re: svn commit: r230623 - in head/sys: amd64/amd64 cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs sys vm X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Jan 2012 12:36:12 -0000 Il giorno 28/gen/2012, alle ore 09:39, Pawel Jakub Dawidek = ha scritto: > On Fri, Jan 27, 2012 at 08:18:32PM +0000, Kip Macy wrote: >> Author: kmacy >> Date: Fri Jan 27 20:18:31 2012 >> New Revision: 230623 >> URL: http://svn.freebsd.org/changeset/base/230623 >>=20 >> Log: >> exclude kmem_alloc'ed ARC data buffers from kernel minidumps on amd64 >> excluding other allocations including UMA now entails the addition of >> a single flag to kmem_alloc or uma zone create >=20 > How do you handle the case when there are two small allocations within > one page, where one has the NODUMP flag and one doesn't have the flag? Kmem_alloc and zone creation both work at granularities greater than or equa= l to a page. The per-page management of dump is why this flag is not availab= le to generic malloc. >=20 > As for GELI and opencrypto what I'd love to have is a flag that will > prevent dumping the memory and that will clear memory on free. How hard > would that be? >=20 I'll look into it. Off-hand I think it would be easy enough. Cheers,=20 Kip > --=20 > Pawel Jakub Dawidek http://www.wheelsystems.com > FreeBSD committer http://www.FreeBSD.org > Am I Evil? Yes, I Am! http://tupytaj.pl