svn commit: r230623 - in head/sys: amd64/amd64
cddl/compat/opensolaris/sys
cddl/contrib/opensolaris/uts/common/fs/zfs sys vm
K Macy
kmacybsd at gmail.com
Sat Jan 28 12:36:12 UTC 2012
Il giorno 28/gen/2012, alle ore 09:39, Pawel Jakub Dawidek <pjd at FreeBSD.org> 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
>>
>> 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
>
> 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 equal to a page. The per-page management of dump is why this flag is not available to generic malloc.
>
> 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?
>
I'll look into it. Off-hand I think it would be easy enough.
Cheers,
Kip
> --
> Pawel Jakub Dawidek http://www.wheelsystems.com
> FreeBSD committer http://www.FreeBSD.org
> Am I Evil? Yes, I Am! http://tupytaj.pl
More information about the svn-src-head
mailing list