From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by kanga.kvack.org (Postfix) with ESMTP id 36738900015 for ; Fri, 21 Nov 2014 11:07:04 -0500 (EST) Received: by mail-pd0-f175.google.com with SMTP id y10so5593573pdj.34 for ; Fri, 21 Nov 2014 08:07:03 -0800 (PST) Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com. [210.118.77.14]) by mx.google.com with ESMTPS id j5si9471813pdk.48.2014.11.21.08.07.01 for (version=TLSv1 cipher=RC4-MD5 bits=128/128); Fri, 21 Nov 2014 08:07:02 -0800 (PST) Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NFE00BD9CW5Q660@mailout4.w1.samsung.com> for linux-mm@kvack.org; Fri, 21 Nov 2014 16:09:41 +0000 (GMT) Message-id: <546F6319.6010305@samsung.com> Date: Fri, 21 Nov 2014 19:06:49 +0300 From: Andrey Ryabinin MIME-version: 1.0 Subject: Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger. References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1415199241-5121-1-git-send-email-a.ryabinin@samsung.com> <5461B906.1040803@samsung.com> <20141118125843.434c216540def495d50f3a45@linux-foundation.org> <20141120090356.GA6690@gmail.com> <20141120150033.4cd1ca25be4a9b00a7074149@linux-foundation.org> In-reply-to: Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Thomas Gleixner , Andrew Morton Cc: Dmitry Vyukov , Ingo Molnar , Andrey Ryabinin , Konstantin Serebryany , Dmitry Chernenkov , Andrey Konovalov , Yuri Gribov , Konstantin Khlebnikov , Sasha Levin , Michal Marek , Ingo Molnar , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Dave Hansen , Andi Kleen , Vegard Nossum , "H. Peter Anvin" , "x86@kernel.org" , "linux-mm@kvack.org" , Randy Dunlap , Peter Zijlstra , Alexander Viro , Dave Jones , Jonathan Corbet , Joe Perches , LKML , Linus Torvalds On 11/21/2014 02:14 AM, Thomas Gleixner wrote: > On Thu, 20 Nov 2014, Andrew Morton wrote: > >> On Thu, 20 Nov 2014 20:32:30 +0400 Dmitry Vyukov wrote: >> >>> Let me provide some background first. >> >> Well that was useful. Andrey, please slurp Dmitry's info into the 0/n >> changelog? > > And into Documentation/UBSan or whatever the favourite place is. 0/n > lengthy explanations have a tendecy to be hard to retrieve. > I would rather put this into 1/n patch changelog. IMO Documentation should only describe how to use this tool and how it works. And UBSan != KASan. UBSan for detecting undefined behavior, KASan for out of bounds and use after frees. > Thanks, > > tglx > > > -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758817AbaKUQHB (ORCPT ); Fri, 21 Nov 2014 11:07:01 -0500 Received: from mailout4.w1.samsung.com ([210.118.77.14]:56915 "EHLO mailout4.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755479AbaKUQG7 (ORCPT ); Fri, 21 Nov 2014 11:06:59 -0500 X-AuditID: cbfec7f4-b7f6c6d00000120b-a3-546f63207e18 Message-id: <546F6319.6010305@samsung.com> Date: Fri, 21 Nov 2014 19:06:49 +0300 From: Andrey Ryabinin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-version: 1.0 To: Thomas Gleixner , Andrew Morton Cc: Dmitry Vyukov , Ingo Molnar , Andrey Ryabinin , Konstantin Serebryany , Dmitry Chernenkov , Andrey Konovalov , Yuri Gribov , Konstantin Khlebnikov , Sasha Levin , Michal Marek , Ingo Molnar , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Dave Hansen , Andi Kleen , Vegard Nossum , "H. Peter Anvin" , "x86@kernel.org" , "linux-mm@kvack.org" , Randy Dunlap , Peter Zijlstra , Alexander Viro , Dave Jones , Jonathan Corbet , Joe Perches , LKML , Linus Torvalds Subject: Re: [PATCH v6 00/11] Kernel address sanitizer - runtime memory debugger. References: <1404905415-9046-1-git-send-email-a.ryabinin@samsung.com> <1415199241-5121-1-git-send-email-a.ryabinin@samsung.com> <5461B906.1040803@samsung.com> <20141118125843.434c216540def495d50f3a45@linux-foundation.org> <20141120090356.GA6690@gmail.com> <20141120150033.4cd1ca25be4a9b00a7074149@linux-foundation.org> In-reply-to: Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sa0iTYRTHed67S+Ntaj7YB2sY0aiZEPUoEiUE74c+BK2wCGrN5SWnsqVp QZlXXGmmljkHSVrpHKibYbOpc4izLO8XdHlL81LN0sRMzXIuqG+/c87/nN+Xw+D8z4Q3ExF9 VaaIlkQJKB7Rtm7t379TGiM+kGHwQav1hSTSVOoo1Nz/g0YDS18AmjRnALQwOwZQzUAyhqbH x2mUM55Oo4fVXqj8TgqFikYnCFQ7ZcdQeeYYiXrqNBQa0f0mUcX6G4C6zcUYSm3oxFD693US WbPMGLK/LyBQemk1hqwvanBU0mzD0dxUHo4M+gc4+pBtp1GftolGHb+sJFqumiCP+nCPjfOA M6qHaa5YH8cZyoRciWkW4/TaTIrTL+TSnMrei3Fz7e001/poleAmewswriQ7j+TmPw4R3KK2 H+e+NvRR3NviZvqk+zleUKgsKiJepvA7cpEXbliux2KnyYSqeRueBJoIFXBhIHsQljYW0U7e DjtHKikV4DF89imAizU1hLNIwaB5qgV3pNxYIXxiSsUcTLC7ocGUtskUK4Lr6lrKwZ5sCOzV aYAzvw0u541s2jzY07DsWxVwHMXZfgZmWUo3j7qzp2BrueavOoWAua/XSMfAhT0M8xs1GwZm Y0MER7uEjjbO+kCDzo7nAFb9n0P9L6X+L1UMcC3wlMVJY5WXwuT+IqVEroyLDhNJY+R64HyQ xZegpCXQAlgGCFzdzMfkYj4piVcmyi0AMrjAw+2ae4yY7xYqSbwuU8RcUMRFyZQWgDEu3kmg esYg3pt940qv9cwzfsBKJNWyL8D6aX68ss59jy02+L5IOClIPztofH5IIyt8NeIiJLvfSY/r diSkSYNnkmc6XFVBCTfPN9q23Ns1dmvJty3J1nXitihXFR456NWeb/k5GbJ1eO5yhS+l6tFn rJiS+ux3A0cbJoxrflremnyIFRDKcIm/EFcoJX8ApFKzk/4CAAA= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/21/2014 02:14 AM, Thomas Gleixner wrote: > On Thu, 20 Nov 2014, Andrew Morton wrote: > >> On Thu, 20 Nov 2014 20:32:30 +0400 Dmitry Vyukov wrote: >> >>> Let me provide some background first. >> >> Well that was useful. Andrey, please slurp Dmitry's info into the 0/n >> changelog? > > And into Documentation/UBSan or whatever the favourite place is. 0/n > lengthy explanations have a tendecy to be hard to retrieve. > I would rather put this into 1/n patch changelog. IMO Documentation should only describe how to use this tool and how it works. And UBSan != KASan. UBSan for detecting undefined behavior, KASan for out of bounds and use after frees. > Thanks, > > tglx > > >