From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 29 16:17:23 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49CA016A420 for ; Thu, 29 Dec 2005 16:17:23 +0000 (GMT) (envelope-from bosko.milekic@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id D02B843D8F for ; Thu, 29 Dec 2005 16:16:51 +0000 (GMT) (envelope-from bosko.milekic@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so1793147nzo for ; Thu, 29 Dec 2005 08:16:48 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eGhfPg6wjHrRV1VI0rO4t9eK9pfV3QnP8p9oy9w9NmYBe1Oax2O2bTxNf5QKhLfyb9tVrm3AsViOHNos7XtJ3VCeJ+ZpvFB2lCvQNdOFdGWyFNXZLkWSEmTWjHwoiV8bRg3fFfAzq5DxVQEiqpSy4ui7klGkkNFXPfkDijJkoZI= Received: by 10.36.250.48 with SMTP id x48mr6805561nzh; Thu, 29 Dec 2005 08:16:47 -0800 (PST) Received: by 10.36.13.11 with HTTP; Thu, 29 Dec 2005 08:16:47 -0800 (PST) Message-ID: Date: Thu, 29 Dec 2005 11:16:47 -0500 From: Bosko Milekic To: Pawel Jakub Dawidek In-Reply-To: <20051228023856.GA14871@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051228023856.GA14871@garage.freebsd.pl> X-Mailman-Approved-At: Thu, 29 Dec 2005 16:50:36 +0000 Cc: hackers@freebsd.org Subject: Re: More user developers friendly memguard. 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: Thu, 29 Dec 2005 16:17:23 -0000 I like this very much. Please commit and feel free to continue improving Memguard for yours (and everyone elses) benefit. On 12/27/05, Pawel Jakub Dawidek wrote: > Here is the patch: > > http://people.freebsd.org/~pjd/patches/kern_malloc.c.3.patch > > It allows to configure memory type to debug without recompilling the > kernel. It also allows to debug kernel modules with memguard. > > The rules: > 1. If memory type is compiled into the kernel vm.memguard_desc should be > configured in /boot/loader.conf. > 2. If memory type is in kernel module, vm.memguard_desc sysctl should be > configured before loading the module. > > -- > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! > > > -- Bosko Milekic To see all the content I generate on the web, check out my Peoplefeeds profile at http://peoplefeeds.com/bosko/profile