Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp160055ybs; Tue, 26 May 2020 06:14:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyo2NpMyTkpv5CJ2Zzx45SMUvs1fABCbVrDqWjXvr5QvUybKR0cBNQeLQ7S9G6YMW0d4Di X-Received: by 2002:a05:6402:c8f:: with SMTP id cm15mr19405052edb.117.1590498849548; Tue, 26 May 2020 06:14:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590498849; cv=none; d=google.com; s=arc-20160816; b=u5T5yGdcu4sthJ2nS8bVDl2pu5JWOONHYv9vr8MMg7K0ZWq/7gSh9Jif8B6KdzwJM6 0otKMQuq+oYqfFW/OXjv31r3C3kwy3wIBbOsOPRbgWwSWaUsbw1qh8R/OleegpwQhZ92 jsGLTaM5hKr0DJjFx+KDFiNR6UVcfGUvYbd3ud5aGxSejoK+DTiEKeJLcOqhPOanHT22 Ccsp73PqlYAtKz18NVTt7V4wVBxUAJcLKdF3YFo6EhnZNo0PZ9xIyw8vUI/XCWa/KPf8 3oeqidTls2foUiPpjUvTAMMkXd/jPT46ZXiH10FoZ24M4t8G1h4Bd2QhSR04wwJFWiSn 1jtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=CZxpnXKNplGMhIiQYm1xp+tPhwLVn6i7jtBK5SvPIl8=; b=gM19uk74nrErtR2ZNI4Mzc73WJxwM+sA88D5gr4nJ9nQfSRDoh5yz/w9Lc4M2RMBv8 jYAtvoNcr840Amz2ubVYI0Af5/VHJY5zBtnw5ZfYtxqrd5+KDPEOOQXGqpFvXztzyyYS RBPfA7k/qRMH6gCEZDOYQooTy0h2TQ742npDaW9AMUtpOJl7PSrYzwyS5IbfrLS5EHcR o8pxmPRHWl6757adym7PfAtzpsXe3WtYYXFN1B13I1vy2oBcnwid3AH39atZeht014ve vt7/lAn8t/XQ4F0xbi0ON+O/+/YINBguab/B5XQr6pzFcBXvjp20U0ZeTgiJ6eUDs9iI NspQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=JI1at74G; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gr2si1292311ejb.221.2020.05.26.06.13.44; Tue, 26 May 2020 06:14:09 -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=@ellerman.id.au header.s=201909 header.b=JI1at74G; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388746AbgEZMxa (ORCPT + 99 others); Tue, 26 May 2020 08:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726882AbgEZMxa (ORCPT ); Tue, 26 May 2020 08:53:30 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0AB7C03E96D for ; Tue, 26 May 2020 05:53:29 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49WYmR1NcJz9sSk; Tue, 26 May 2020 22:53:27 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1590497607; bh=EtQztu5NmCVqCIZyOPV1ACDAhtqa29TG/2fKZ5rLLpM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=JI1at74GbvNS0bVZEFf4OJViTkUOEyGb9fPhmr2DTYm5O7v0GBZG/v95TXx6OEi/3 TJvX6neupQJbZFN5DwEeJCflq/AdfjG4KX2SVWUFJGqapba3Qhl9Th4l/pmHEIetbk WPgw4N5388UQGaJPyZ2DAM+ns5FY1MpNoEA/+N4r3AWzP3n6gh1s58vWvPV4giPXQs U6A98J/W8N/M0+FtXA/bEWw785sz4tDDsyqxXmwwC2Rj/dzm/CKtM5rvxXsM/W6xNj Dxj+d3NsG23J/wrpteipjywiqGmjwQcXbj2l+RDakBFQju9YkcBSK8UFtWDvzB5a21 3gPpFoBMjaWCQ== From: Michael Ellerman To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v4 07/45] powerpc/ptdump: Limit size of flags text to 1/2 chars on PPC32 In-Reply-To: References: <83a7a0cfca6198e63caf7a16839bd18454961f52.1589866984.git.christophe.leroy@csgroup.eu> <87h7w4fvcy.fsf@mpe.ellerman.id.au> Date: Tue, 26 May 2020 22:53:50 +1000 Message-ID: <87zh9ueu1t.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christophe Leroy writes: > Le 25/05/2020 =C3=A0 07:15, Michael Ellerman a =C3=A9crit=C2=A0: >> Christophe Leroy writes: >>> In order to have all flags fit on a 80 chars wide screen, >>> reduce the flags to 1 char (2 where ambiguous). >>=20 >> I don't love this, the output is less readable. Is fitting on an 80 char >> screen a real issue for you? I just make my terminal window bigger. > > I don't have strong opinion about that, and the terminal can be made bigg= er. > I just don't like how messy it is, some flags are so big that they hide=20 > other ones and getting it more ordered and more compact helped me during= =20 > all the verifications I did with this series, but we can leave it as is=20 > if you prefer. I think I do. > Would you like a v5 without patches 7 and 8 ? Or I can just resend the=20 > patches that will be impacted, that is 9 and 38 ? I dropped 7 and 8 and then fixed up 9 and 38, it was easy enough. I used "coherent" and "huge". > With the change I get. > > ---[ Start of kernel VM ]--- > 0xc0000000-0xc0ffffff 0x00000000 16M h r x p sh a > 0xc1000000-0xc7ffffff 0x01000000 112M h rw p sh d a > ---[ vmalloc() Area ]--- > 0xc9000000-0xc9003fff 0x050e4000 16K rw p sh d a > 0xc9008000-0xc900bfff 0x050ec000 16K rw p sh d a > 0xc9010000-0xc9013fff 0xd0000000 16K rw p i g sh d a > 0xc9018000-0xc901bfff 0x050f0000 16K rw p sh d a It's definitely more compact :) But I worry no one other than you will be able to decipher it, without constantly referring back to the source code. cheers