From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DBB46C433E0 for ; Wed, 10 Feb 2021 16:54:23 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 444B064E7C for ; Wed, 10 Feb 2021 16:54:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 444B064E7C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 918CA6B0070; Wed, 10 Feb 2021 11:54:22 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 8C7D36B0072; Wed, 10 Feb 2021 11:54:22 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 806836B0073; Wed, 10 Feb 2021 11:54:22 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0138.hostedemail.com [216.40.44.138]) by kanga.kvack.org (Postfix) with ESMTP id 6B6226B0070 for ; Wed, 10 Feb 2021 11:54:22 -0500 (EST) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 3596D3634 for ; Wed, 10 Feb 2021 16:54:22 +0000 (UTC) X-FDA: 77802956364.30.F400C04 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by imf08.hostedemail.com (Postfix) with ESMTP id B3A5B80192C6 for ; Wed, 10 Feb 2021 16:54:18 +0000 (UTC) IronPort-SDR: sElrgvauO569GfZM9gWG23WhVqLyc5zoNYZF+VID0D97RnWMQ+jfrZX1niVmt93jeegtoKfCmA TEj+YBg8f3aA== X-IronPort-AV: E=McAfee;i="6000,8403,9891"; a="161860341" X-IronPort-AV: E=Sophos;i="5.81,168,1610438400"; d="scan'208";a="161860341" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2021 08:54:19 -0800 IronPort-SDR: YaHAI6bJQoUB7zMRBVuvHxXrWC1N8RXcKfsBSKreSHGJXC5Jz648w2uzLzbxNb4NTkGf52nZ2R SwwyG1s397/A== X-IronPort-AV: E=Sophos;i="5.81,168,1610438400"; d="scan'208";a="586375276" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2021 08:54:15 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l9skl-003m9n-6t; Wed, 10 Feb 2021 18:54:11 +0200 Date: Wed, 10 Feb 2021 18:54:11 +0200 From: Andy Shevchenko To: Tetsuo Handa Cc: Steven Rostedt , Timur Tabi , Petr Mladek , Sergey Senozhatsky , Vlastimil Babka , Matthew Wilcox , akpm@linux-foundation.org, Linus Torvalds , roman.fietze@magna.com, Kees Cook , John Ogness , akinobu.mita@gmail.com, glider@google.com, Andrey Konovalov , Marco Elver , Rasmus Villemoes , Pavel Machek , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 0/3][RESEND] add support for never printing hashed addresses Message-ID: References: <20210210051814.845713-1-timur@kernel.org> <6da0be5a-7cb0-4943-e61f-7c3275e60cb6@i-love.sakura.ne.jp> <20210210111836.2468f10a@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: B3A5B80192C6 X-Stat-Signature: xqfp5ttpzt714yubf4gghnx8dfh9u1nm Received-SPF: none (linux.intel.com>: No applicable sender policy available) receiver=imf08; identity=mailfrom; envelope-from=""; helo=mga17.intel.com; client-ip=192.55.52.151 X-HE-DKIM-Result: none/none X-HE-Tag: 1612976058-194523 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Feb 11, 2021 at 01:39:41AM +0900, Tetsuo Handa wrote: > On 2021/02/11 1:18, Steven Rostedt wrote: > > The point of this exercise is to be able to debug the *same* kernel that > > someone is having issues with. And this is to facilitate that debugging. > > That's too difficult to use. If a problem is not reproducible, we will have > no choice but always specify "never hash pointers" command line option. If a > problem is reproducible, we can rebuild that kernel with "never hash pointers" > config option turned on. I think what you are targeting is something like dynamic debug approach where you can choose which prints to enable/disable and what enable/disable in them. In that case you specifically apply a command line option and enable only files / lines in the files. -- With Best Regards, Andy Shevchenko