Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3342573pxj; Mon, 24 May 2021 04:40:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwLOTIslvxxfcqiZkbVWSmXa6GPlI+IAU15jF9I0RwnoLmIkNEprQfxXQtig2txCdMbKwld X-Received: by 2002:a17:907:2646:: with SMTP id ar6mr22466803ejc.293.1621856433723; Mon, 24 May 2021 04:40:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621856433; cv=none; d=google.com; s=arc-20160816; b=eJ7MmPmXqLYV4hqpgV/ORmL7nKVv6lMXFebFG2z/BNEk7MMKdPs2Mh7YACyPtJwLrR O+s008KOYChu+XemmWOccF0QMbzSILvg3rdvWQYr0+ISdnJuiAR+pn0PhLQ/H78RR4wS 56fc23leIGH6FJbRG9hlLCiawPgZuy0ZsdMTJPvf9tJIRcP3NrlwacTheb3QwP/ClkYT oNSZ9KB6u2DR/t2kK/mxec5MDMbEliRpYhdNbmxoC888KIEaiPk+t/9qwcQazQTZ2qz/ j/R2MjzeGamdG0nL4rCt136MPBu6r9eBb2Nxksq/so7+11i72wHe2H2cNRHp7pAY20p7 oM2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I84Om9AbLWUNDYu7X6goqSlgpXNz4H2MwZ+N97qbSrs=; b=kbop/tKLwBFHZiZ4Ht6v4R+zb78c/SDdpMfpTZk7ovkmdyigUmLqip5L/onXcw3QdK VgIm2YNLzkLpvxt85TGiLsZ4ExmIMAoGgprVpX6pXgc0ccD4vNoqQRgrBr55eSGvZRWX nZKGSMeVyt/5tOR6wy/NyggMCBP3RLnXjgWN2Tom4becLvE2dIf6uM3ZVx0vvxh2bh1N QVrPNGn52/aV/AO2Mtd3zhpafF9XqLeCVSVzvT6y/hcPJTg6FbG7h068i0afbAUkx4AZ IOH6RB1rXmapof7fu8QAFZkZVuvcnO2if+C1xKdFY/vfLwKAm3lTfwUiyn7rPh3RGYHA k5ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=a77rihw2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x8si12737335ejw.54.2021.05.24.04.40.10; Mon, 24 May 2021 04:40:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=a77rihw2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232516AbhEXLiT (ORCPT + 99 others); Mon, 24 May 2021 07:38:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:42682 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232494AbhEXLiQ (ORCPT ); Mon, 24 May 2021 07:38:16 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621856208; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=I84Om9AbLWUNDYu7X6goqSlgpXNz4H2MwZ+N97qbSrs=; b=a77rihw26UhxQGU9Effv3MJDf+qpFhEIwSCjsfb7zneb/g2UjLKUNyjlhBfENDdAK4I93U 2MRSuUUqcPYbZtj3Ayx9Q0RbqvknTxUxzOqz89UWazKaLv4nMbQUrtjcIc6zPWbl9x5fAs CMEuRFt1xK3TZLmWlbNsQm4Qky7RZak= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id EB5DDAD05; Mon, 24 May 2021 11:36:47 +0000 (UTC) Date: Mon, 24 May 2021 13:36:47 +0200 From: Petr Mladek To: Stephen Boyd Cc: Andrew Morton , linux-kernel@vger.kernel.org, Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Vlastimil Babka , linux-mm@kvack.org Subject: Re: [PATCH 1/3] lib/hexdump: Add a raw pointer printing format for slub debugging Message-ID: <20210524113647.h2avhbrngyydwwqn@pathway.suse.cz> References: <20210520013539.3733631-1-swboyd@chromium.org> <20210520013539.3733631-2-swboyd@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210520013539.3733631-2-swboyd@chromium.org> User-Agent: NeoMutt/20170912 (1.9.0) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 2021-05-19 18:35:37, Stephen Boyd wrote: > We want to get actual pointer addresses when we're looking at slub > debugging reports. Add another prefix format specifier that says we want > raw pointer addresses, i.e. %px, in the printk format. This patch makes sense only with the 2nd patch. Please, do not do this! Raw pointers might be printed safely only in panic(). Users should be warned by the fat warning triggered by "no_hash_pointers" in other use-cases. And this patch is not needed when "no_hash_pointers" are enabled. Best Regards, Petr