Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1966622yba; Mon, 15 Apr 2019 02:03:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxgm2d10By7xacdrnMCS+bpEiq0eqnYnHNqrJEjEEWyEWzIFFVDjenJoY4a95hWi4u3lK6 X-Received: by 2002:a62:1701:: with SMTP id 1mr74875818pfx.120.1555319022826; Mon, 15 Apr 2019 02:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555319022; cv=none; d=google.com; s=arc-20160816; b=TKh7eksYAyHTebBx8J0a4V4GNn8yDURylzvaql/xDgdHtJRHqXcytM/TDa3OapziKe a2uPvog/8erKnLgvECN2gHFSrFlmAVGBi6hXQLZBMu+k5ywfpsrazxLfuvCuqoan4IIM fWXDlE6MQjl3qN9Ckzwf0vUkNj2NT5QKflyRaqVDvE7DCfmNjm2LxbcrpNRhxYkm+Nu7 Ef5vLfU3tydpDHO11pwOUVoZSz0uIf6aUNtn7K3m0mqMnuupoMn+TZ0bovM2DrIZNW4R CfgZ/TU00wFdE80WWLCYqbhEfF0yBG5HvXxpbZjFdCyCLuVUZr5p9Y1R6UwukBH1J2o2 wA2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=51cvvBN4n/8oZTzgziv9ltc4lII2vKZ3oZ/E40V8sOw=; b=dRW9H6vl2B1NgPpTMG288Ja55n1xmLwNZFjt/x+rrE6hc07e1sRMqhfxv51AqjYeQI MbUUfmXl/ApJ1ZWiATMT7aZQdHPTRxc+dUN0ki7Njy+Q/jul6IfEzO+zB4YyUm0MaSlA vnGvXvARY/EZdj13MTabT88GICROvPBChfA4+Wmjg7oSII5DWj/TsZfzOT9wszmc9Ssw 34wcZt9M7q6ShQkgB/asyStzUCvdFwyu+MluwnZUX/ZHQ3rkLo4O7j3as3uGGS5bEUaB qgSMKzLzx+lgr45nDMyHjk8DUyLT2TbZiUzTc3w4Yhzq8an7e55BJyl4YLa4+FEWt8/p 1zSA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si2869360pgd.274.2019.04.15.02.03.26; Mon, 15 Apr 2019 02:03:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726871AbfDOJCm (ORCPT + 99 others); Mon, 15 Apr 2019 05:02:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:50130 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725796AbfDOJCm (ORCPT ); Mon, 15 Apr 2019 05:02:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 6E1E7AFDA; Mon, 15 Apr 2019 09:02:38 +0000 (UTC) Date: Mon, 15 Apr 2019 11:02:32 +0200 From: Petr Mladek To: Alastair D'Silva Cc: 'Jani Nikula' , 'Joonas Lahtinen' , 'Rodrigo Vivi' , 'David Airlie' , 'Daniel Vetter' , 'Karsten Keil' , 'Jassi Brar' , 'Tom Lendacky' , "'David S. Miller'" , 'Jose Abreu' , 'Kalle Valo' , 'Stanislaw Gruszka' , 'Benson Leung' , 'Enric Balletbo i Serra' , "'James E.J. Bottomley'" , "'Martin K. Petersen'" , 'Greg Kroah-Hartman' , 'Alexander Viro' , 'Sergey Senozhatsky' , 'Steven Rostedt' , 'Andrew Morton' , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-scsi@vger.kernel.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 1/4] lib/hexdump.c: Allow 64 bytes per line Message-ID: <20190415090232.3ualhrt5ssrb2ixq@pathway.suse.cz> References: <20190410031720.11067-1-alastair@au1.ibm.com> <20190410031720.11067-2-alastair@au1.ibm.com> <20190412134802.kprel2c2iqijd4ai@pathway.suse.cz> <092f01d4f186$8e9e7cd0$abdb7670$@d-silva.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <092f01d4f186$8e9e7cd0$abdb7670$@d-silva.org> User-Agent: NeoMutt/20170912 (1.9.0) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 2019-04-13 09:22:05, Alastair D'Silva wrote: > > -----Original Message----- > > From: Petr Mladek > > Sent: Friday, 12 April 2019 11:48 PM > > To: Alastair D'Silva > > Cc: alastair@d-silva.org; Jani Nikula ; > Joonas > > Lahtinen ; Rodrigo Vivi > > ; David Airlie ; Daniel Vetter > > ; Karsten Keil ; Jassi Brar > > ; Tom Lendacky ; > > David S. Miller ; Jose Abreu > > ; Kalle Valo ; > > Stanislaw Gruszka ; Benson Leung > > ; Enric Balletbo i Serra > > ; James E.J. Bottomley > > ; Martin K. Petersen ; > > Greg Kroah-Hartman ; Alexander Viro > > ; Sergey Senozhatsky > > ; Steven Rostedt ; > > Andrew Morton ; intel- > > gfx@lists.freedesktop.org; dri-devel@lists.freedesktop.org; linux- > > kernel@vger.kernel.org; netdev@vger.kernel.org; > > ath10k@lists.infradead.org; linux-wireless@vger.kernel.org; linux- > > scsi@vger.kernel.org; linux-fbdev@vger.kernel.org; > > devel@driverdev.osuosl.org; linux-fsdevel@vger.kernel.org > > Subject: Re: [PATCH 1/4] lib/hexdump.c: Allow 64 bytes per line > > > > On Wed 2019-04-10 13:17:17, Alastair D'Silva wrote: > > > From: Alastair D'Silva > > > > > > With modern high resolution screens, we can display more data, which > > > makes life a bit easier when debugging. > > > > I have quite some doubts about this feature. > > > > We are talking about more than 256 characters per-line. I wonder if such a > > long line is really easier to read for a human. > > It's basically 2 separate panes of information side by side, the hexdump and > the ASCII version. > > I'm using this myself when dealing with the pmem labels, and it works quite > nicely. I am sure that it works for you. But I do not believe that it would be useful in general. > > I am not expert but there is a reason why the standard is 80 characters > per- > > line. I guess that anything above 100 characters is questionable. > > https://en.wikipedia.org/wiki/Line_length > > somehow confirms that. > > > > Second, if we take 8 pixels per-character. Then we need > > 2048 to show the 256 characters. It is more than HD. > > IMHO, there is still huge number of people that even do not have HD > display, > > especially on a notebook. > > The intent is to make debugging easier when dealing with large chunks of > binary data. I don't expect end users to see this output. How is it supposed to be used then? Only by your temporary patches? Best Regards, Petr