From owner-freebsd-security@FreeBSD.ORG Fri Sep 13 10:24:59 2013 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A00F98AB for ; Fri, 13 Sep 2013 10:24:59 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 61E552750 for ; Fri, 13 Sep 2013 10:24:59 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 7EC344D7B; Fri, 13 Sep 2013 10:24:58 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 7F2593688F; Fri, 13 Sep 2013 12:24:30 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: My Email Subject: Re: FreeBSD Transient Memory problem? References: <20130912053559.GF68682@funkthat.com> <979901F9-5F25-4DF1-95A8-32473C55B25F@gmail.com> <20130912183206.GK68682@funkthat.com> Date: Fri, 13 Sep 2013 12:24:30 +0200 In-Reply-To: <20130912183206.GK68682@funkthat.com> (John-Mark Gurney's message of "Thu, 12 Sep 2013 11:32:07 -0700") Message-ID: <86d2od589t.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-security@freebsd.org" X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Sep 2013 10:24:59 -0000 John-Mark Gurney writes: > for kernel malloc, look at sys/kern_malloc.c.. It doesn't look like > there is a knob to turn on kernel malloc filling, but it wouldn't be > hard... You want to do it in UMA, not in malloc() / free(). DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no