From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by kanga.kvack.org (Postfix) with ESMTP id E339D6B0033 for ; Mon, 11 Dec 2017 03:08:19 -0500 (EST) Received: by mail-qt0-f197.google.com with SMTP id h4so20921637qtj.0 for ; Mon, 11 Dec 2017 00:08:19 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l5sor9630672qkc.132.2017.12.11.00.08.16 for (Google Transport Security); Mon, 11 Dec 2017 00:08:16 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1512641861-5113-1-git-send-email-geert+renesas@glider.be> From: Geert Uytterhoeven Date: Mon, 11 Dec 2017 09:08:15 +0100 Message-ID: Subject: Re: [PATCH] mm/slab: Do not hash pointers when debugging slab Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: To: Linus Torvalds Cc: Geert Uytterhoeven , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , "Tobin C . Harding" , linux-mm , Linux Kernel Mailing List Hi Linus, On Sun, Dec 10, 2017 at 9:45 PM, Linus Torvalds wrote: > On Thu, Dec 7, 2017 at 2:17 AM, Geert Uytterhoeven > wrote: >> - pr_err("Slab corruption (%s): %s start=%p, len=%d\n", >> + pr_err("Slab corruption (%s): %s start=%px, len=%d\n", >> print_tainted(), cachep->name, >> realobj, size); > > and here, is the pointer actually interesting, or should we just give > the offset to the allocation? The pointer may help to identify e.g. an empty list_head in the written data. > But if the pointer is interesting, then ack. Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- 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