From owner-svn-src-all@FreeBSD.ORG Sat May 16 19:32:43 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AE20C890 for ; Sat, 16 May 2015 19:32:43 +0000 (UTC) Received: from nm37-vm2.bullet.mail.bf1.yahoo.com (nm37-vm2.bullet.mail.bf1.yahoo.com [72.30.238.202]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B75D1AED for ; Sat, 16 May 2015 19:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1431804421; bh=rLHkbokncw5WhJ9SDwDEZqhOX0LH7l2W09hct9/QHlM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject; b=aXgP85tRR2cZSUBnhsQFtorn0sAkiOM6P4BkaWtfYg3Om0DbOu90lOAN4ZP+zJA7C9bg5Om1/RE7CUwgMMXirtNlMRTfoQ3CenmxmleftUD4g+QBr+9unZ3i+XuCiZM2ifrwkl7pX0+kOfVXNT84/gL9vZXlzAw0pX17u0etVhLcXGc4dRVqvZceHgCcvMUegs1QrpRYJytJMtYqWzvM5P3+Weq2bAMB9mp0z9JBKGkeTl5wXL4arH6wiHoarYrUE0lN+ULOEX6b8KKXUSuBcSKg5UetaX6JpO2Bn3l4g7+eW/soKusXGmqeapwPVHCeDcICFlGfGJaVqdd/dbqIvA== Received: from [98.139.170.182] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 16 May 2015 19:27:01 -0000 Received: from [98.139.213.11] by tm25.bullet.mail.bf1.yahoo.com with NNFMP; 16 May 2015 19:27:01 -0000 Received: from [127.0.0.1] by smtp111.mail.bf1.yahoo.com with NNFMP; 16 May 2015 19:27:01 -0000 X-Yahoo-Newman-Id: 58276.9841.bm@smtp111.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: mmbIYoAVM1lVUGcj53UXZ0rrp7uia48yUvIKetvnffm6Hl_ WqyYfiIFpvZhX.4SgWm4dYCavKAen9RBSpZTHdORxaM3tON1KKgGbb2PR_Lc g5Bf.Z1I_hQCs5xRkE03glA27QHavxIa2OCRj6XAc2dlGl_X7jkdSBtFLXYv Nh3hvhBAlvmJURNUxs.wPEwZHd48njQIEiv7h6mIjGBKl5EGFfaxqGzMq_Hh xyXCuiZwA6g5dUaUc.HJSWyKrdL901wlByMZxEPntZLtty7UkvtpotI4a9Ap zHdy2rveBJjmO.BwTh3iyaX_bZhY_bsg7zKUhUnawPIesJULBegVcv3CRtjc uoMi.K_zYr0qF1ZIAT4D6GCrqDmMtb977gTG7A4CKfOjYAZe6kGLAup.ZwCx beAjeHs07fJJnHQXIWayKgbnDXfM.E3w.i6sYXadMupL2HqTQgs5hu4HQGw9 yo1CHcK9J5fMYwvn4lc5pYqiWLsvIm98HWlh_NUOka9wDXyImKFd_Ab_ERZE jKH_6_TdIsOSgrt0iqRyrYM_kgaScSh0- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Subject: Re: kasan (was Re: svn commit: r282948 - head/lib/libthr/thread) From: Pedro Giffuni In-Reply-To: <55579417.4020508@FreeBSD.org> Date: Sat, 16 May 2015 14:26:52 -0500 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: References: <201505150840.t4F8eHhM000804@svn.freebsd.org> <555772FA.2080408@FreeBSD.org> <55577F01.7030101@FreeBSD.org> <55579417.4020508@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.2098) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2015 19:32:43 -0000 > Il giorno 16/mag/2015, alle ore 14:01, Bryan Drewery = ha scritto: >=20 > On 5/16/2015 12:31 PM, Pedro Giffuni wrote: >> FWIW, and somewhat off-topic ... >>=20 >> On 05/16/15 11:40, Bryan Drewery wrote: >>> ... >>> Modified: >>> head/lib/libthr/thread/thr_spec.c >>>=20 >>> Thank you for this! >>>=20 >>> I have a lot of patches at Isilon for adding a libc cleanup function = to >>> free all caching, for use in memory leak detectors such as valgrind. = I >>> even fixed valgrind to utilize it. >>=20 >> Valgrind is good but it would be nicer to have the >> Kernel AddressSANitizer: >>=20 >> https://github.com/google/kasan/wiki >>=20 >=20 > Doesn't memguard(9) basically do this? I don't like that memguard is = so > limited in its scope but it seems to be for this. >=20 >=20 Somewhat, but this one is based on the Google Address Sanitizer (the userland version is already supported in FreeBSD). It is compiler assisted and it compares favorably to Valgrind plus it also has an interesting record already. There are several talks about it in youtube, for example: https://youtu.be/capbD_aRz40 (audio is = poor the first half) https://youtu.be/Q2C2lP8_tNE Pedro.