From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f199.google.com (mail-ot0-f199.google.com [74.125.82.199]) by kanga.kvack.org (Postfix) with ESMTP id A12776B0387 for ; Fri, 3 Mar 2017 09:38:11 -0500 (EST) Received: by mail-ot0-f199.google.com with SMTP id 19so11465806oti.5 for ; Fri, 03 Mar 2017 06:38:11 -0800 (PST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40103.outbound.protection.outlook.com. [40.107.4.103]) by mx.google.com with ESMTPS id s197si4811229oih.166.2017.03.03.06.38.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Mar 2017 06:38:10 -0800 (PST) Subject: Re: [PATCH v2 6/9] kasan: improve slab object description References: <20170302134851.101218-1-andreyknvl@google.com> <20170302134851.101218-7-andreyknvl@google.com> From: Andrey Ryabinin Message-ID: <2bbe7bdc-8842-8ec0-4b5a-6a8dce39216d@virtuozzo.com> Date: Fri, 3 Mar 2017 17:39:03 +0300 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Alexander Potapenko Cc: Andrey Konovalov , Dmitry Vyukov , kasan-dev , Linux Memory Management List , LKML On 03/03/2017 04:52 PM, Alexander Potapenko wrote: > On Fri, Mar 3, 2017 at 2:31 PM, Andrey Ryabinin wrote: >> On 03/02/2017 04:48 PM, Andrey Konovalov wrote: >>> Changes slab object description from: >>> >>> Object at ffff880068388540, in cache kmalloc-128 size: 128 >>> >>> to: >>> >>> The buggy address belongs to the object at ffff880068388540 >>> which belongs to the cache kmalloc-128 of size 128 >>> The buggy address is located 123 bytes inside of >>> 128-byte region [ffff880068388540, ffff8800683885c0) >>> >>> Makes it more explanatory and adds information about relative offset >>> of the accessed address to the start of the object. >>> >> >> I don't think that this is an improvement. You replaced one simple line with a huge >> and hard to parse text without giving any new/useful information. >> Except maybe offset, it useful sometimes, so wouldn't mind adding it to description. > Agreed. > How about: > =========== > Access 123 bytes inside of 128-byte region [ffff880068388540, ffff8800683885c0) > Object at ffff880068388540 belongs to the cache kmalloc-128 > =========== > ? > I would just add the offset in the end: Object at ffff880068388540, in cache kmalloc-128 size: 128 accessed at offset y -- 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