Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2346291pxb; Thu, 11 Feb 2021 10:01:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWHg9Qc5w84VeLOa69AOud1WIOFfbOjOv3xzfa3ouR/LqCcziGjBiclJqWkqUr19P73LZ3 X-Received: by 2002:a17:906:f2cd:: with SMTP id gz13mr9624295ejb.83.1613066511301; Thu, 11 Feb 2021 10:01:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613066511; cv=none; d=google.com; s=arc-20160816; b=g2t06GM1P9lQUf36UPT0MaQHn5JsNlaI0scLOE/FkBjqrwdpBTtZIYjlXU1ZSnnTeX cHEkkcANqyTSLCLUBC0JoW1P6n0GHDPRdUgDzhGMhXoNzpE6phMk8atjY3ghwtQS80kb IhDUu8bm5drKxRtmrrH+ny0Kulo8Eyaw+jWhY6aAY7r9vqKYZYLdHHDK8kYusPyfnN6W OuLCRmcdQT+EiDYLsPQ3bSwVhG35NnKL7LBl8kP/Pu3pUbwItHlnTMhch4CV7j25XiKg TDO8Bm9qjb6s/87ZweHryXbth4xPzk/bLZBFmTDmC7/HbNSSdUy9DVklugIw6OnJHVQl pdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eWYmxmlJhWs/eHrgE4qsJfBzpcX3ZdkLwS/bN4B28wE=; b=o4zTHU6BKEBqw5ntoRgiFBpVRzkluzQT792Jpfi8t+K3KiPpthDGz435sZ1j8pftyl iaNrxizacl5OWFzrMHd/OTK1fmu1Gk2QC9mU5oGqpyYtSbjchVQvA8KS1kEDf2eru7dC Q3IuwL/ZV6w9lPJ7yOIIsYfl8uUw5HRVpSlfo/GhFmPZiaJ5cpUQGSjMY1NCU7VWL/xf OWT0dvtSqxQKXXnJHKcV2kKka4Ly24faOT7LQBzukusOtrIMI9K4weQrn+UEaGI6Zio1 EKo5TTzbi9fEXH6Lh4SR9DH+FHomkvRIeM9sK74FmDBohpC62iCWmaeWfdi5SSuGHFmP y01Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=i4MF4afu; 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 6si4262842ejm.364.2021.02.11.10.01.25; Thu, 11 Feb 2021 10:01:51 -0800 (PST) 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=i4MF4afu; 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 S232657AbhBKR53 (ORCPT + 99 others); Thu, 11 Feb 2021 12:57:29 -0500 Received: from mx2.suse.de ([195.135.220.15]:44182 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231294AbhBKRY0 (ORCPT ); Thu, 11 Feb 2021 12:24:26 -0500 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=1613064219; 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=eWYmxmlJhWs/eHrgE4qsJfBzpcX3ZdkLwS/bN4B28wE=; b=i4MF4afunucbyASG65Af2ycJnl66rT0KbW4KX8o33ltJbmpgPhMSkafixM8IvVJdDGCU/J 5S1k4YE5oRdNEnv7Tu3dCxJrEqg4N1Wqoe0S5IADrjFRwzPVSl52tXflYojrF8Qgn4+6v6 DCVzbBQgn609lFvGMotjJLk4K7SFwJA= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C4E04AC43; Thu, 11 Feb 2021 17:23:39 +0000 (UTC) Date: Thu, 11 Feb 2021 18:23:38 +0100 From: Petr Mladek To: Timur Tabi Cc: Pavel Machek , Steven Rostedt , Sergey Senozhatsky , Vlastimil Babka , Andy Shevchenko , 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 , Tetsuo Handa , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/3] [v3] lib/vsprintf: debug_never_hash_pointers prints all addresses as unhashed Message-ID: References: <20210210213453.1504219-1-timur@kernel.org> <20210210213453.1504219-4-timur@kernel.org> <20210211123118.GB31708@amd> <9f0c02d9-29d6-95ce-b9b7-27342aa70c6f@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9f0c02d9-29d6-95ce-b9b7-27342aa70c6f@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2021-02-11 11:08:12, Timur Tabi wrote: > > > On 2/11/21 6:31 AM, Pavel Machek wrote: > > Can we make this something shorter? Clearly you don't want people > > placing this in their grub config, so they'll be most likely typing > > this a lot... > > > > debug_pointers or debug_ptrs would be better. > > dbg_unhash_ptrs? "debug_ptrs" is too vague IMHO, and I want to keep the > word "hash" somewhere there to indicate exactly what's happening. I understand that the long name is painful. But I would prefer to avoid another bike shedding over it. There was some pushback against this feature in general. It should be used deliberately and people must be aware of the consequences. This is why it is only boot option and why it prints such a huge warning. The long clear name helps as well. I propose to keep the name as is for now. We could always introduce an alias later when there is a wide preference and consensus. Best Regards, Petr