Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp30561yba; Fri, 12 Apr 2019 16:25:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjiIxCqSR8I0lrAMS4zwSb9xurrclKoVgviDWJF1uKIyo6qMQhiYT1emO/Uhis7fjXq20x X-Received: by 2002:aa7:9392:: with SMTP id t18mr60050404pfe.45.1555111514767; Fri, 12 Apr 2019 16:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555111514; cv=none; d=google.com; s=arc-20160816; b=sNEQXXAT7pnheOal5Rqb91Fnx1e7drSmDfdmNMIkEY2MKrtzMjUaedagcS7RnL8Ify qPlbs0TBYFS/246MlWT1fkWYQoqDl9PDoNkPXRbszie0b8hzbh4bo/GXah1SoVTfebIl p9HUlVjqe562u9YI1cdHnkf6hdL7okliDyzQgMu6PBRC8YsElh0s7zNyDCAwrcU2GVhX gUYj3fGogTbTKdZpaTTmhBU1kQl5/DOqgtyvPOGwdfhjb7NuECTihCad8P9ciUr4RXMS jNU+BZwAonOB7xETT6GAcnr1w1J0Kkc0QBzKsWr1iEQAqR6n6joP+DmQgtjkN1WSZMFd GlBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=66D4xmFymKQmE9iWDBeM50+7daGcDFFtqMykZEuGrto=; b=mUvYMy28L9Iq4lkkdMuVlzJ7Kjvt7mFzxtfkpsBA7y8ZWZVcTE9DLtN2fo/OpRMgym XA4Ca0MitiatO5d42NeDr6L5tzjBy6HsqsMzNd9QouyELJKhNHsLAscQk8rUR3e/7rSA RKw3cUYKvlJIYr7Sr+4hCT60PUGTcm5BFu4nXcDrnhJEhw0//P+djpv+VrWb8ij3BgzW jTQm7OHeRHpddKNDkC310ourfv3yxT0QXTZVfXCclqAjPInoqPzDC9sMJ78x7aS8Q0f0 UINKjw22TBU5BrkmOGTIMUNYn04njG+8fVg0YyEcWJqd0ZDHX1TCmbJJICOp6xf2yc2Y KxOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@d-silva.org header.s=201810a header.b=iEZNn4kR; 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 f16si38528260pgj.149.2019.04.12.16.24.58; Fri, 12 Apr 2019 16:25:14 -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; dkim=pass header.i=@d-silva.org header.s=201810a header.b=iEZNn4kR; 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 S1727064AbfDLXWX (ORCPT + 99 others); Fri, 12 Apr 2019 19:22:23 -0400 Received: from ushosting.nmnhosting.com ([167.160.173.127]:51956 "EHLO ushosting.nmnhosting.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726624AbfDLXWW (ORCPT ); Fri, 12 Apr 2019 19:22:22 -0400 Received: from mail2.nmnhosting.com (unknown [202.169.106.97]) by ushosting.nmnhosting.com (Postfix) with ESMTPS id 17C3B2F28FBB; Fri, 12 Apr 2019 19:22:16 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=d-silva.org; s=201810a; t=1555111337; bh=C/7DEoX+0dM2fBJEvDkBmqJTxKMw1A5TTNNG1efLpXk=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=iEZNn4kRjBwcGYwsoTcmeSXFn73PNLUud7QhtmvuwgtsgfvlhqagT9OdctWgBo71G jPgDD/CFQTbbUPPuyL56Ih+Zezuem++Ov3MP4OPmSof5JW7E/E3FMT24T1v+QyxM33 0VJdcn9JrElQ+vrx6NaSY2c6XEpn5iPuVrWqvLACFNwmWIX8br4Li7cNZKuJ1QMXis Pq4/7lrAd/jPTvQJ4HreuYlbUmLtKIVcLZ5v5eLam2nZpzB4PuP6DjdvS3njAqr3cf KmsmK/QcpFyVZ/W6NlbagwWIGB+Y6ItPv9LXcE/s7Y1CCPA3GJ5CkJ5vvjpY9e03yL CfBSjh25mWXNYbgGfXHubhCiQXRm5o3HbvS2m+MoBgkpQMoD2yJe0DKrFEyzTeXAJ2 EwzTGZRoPa/M+6JsvTJQv6MnCWtUTIEvJxvIX2ck7bi1UIsZEO5zygTYdRpzuIRlx5 mlYyqr/OKm58DopDQrBYLdavWiimGK2B2BoYowL41Ebw1APYhvoPhhbAftO0rHbydF fuy0TkV4HVIIoJ0vhEhCPHaxKLmuXotppHxH1OXl88IL+E0k279HUrAO0fouyNM2mG Z/7kL13pSPDK7ShAyUvDIOV7A4U+BCEhGI+R/HRqJddJMhvUlOB23NjxShVYeOP8ks mJc86FcoP7OdWrfstV4ZHcAo= Received: from Hawking (ntp.lan [10.0.1.1]) (authenticated bits=0) by mail2.nmnhosting.com (8.15.2/8.15.2) with ESMTPSA id x3CNM6AG018805 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 13 Apr 2019 09:22:06 +1000 (AEST) (envelope-from alastair@d-silva.org) From: "Alastair D'Silva" To: "'Petr Mladek'" 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'" , , , , , , , , , , References: <20190410031720.11067-1-alastair@au1.ibm.com> <20190410031720.11067-2-alastair@au1.ibm.com> <20190412134802.kprel2c2iqijd4ai@pathway.suse.cz> In-Reply-To: <20190412134802.kprel2c2iqijd4ai@pathway.suse.cz> Subject: RE: [PATCH 1/4] lib/hexdump.c: Allow 64 bytes per line Date: Sat, 13 Apr 2019 09:22:05 +1000 Message-ID: <092f01d4f186$8e9e7cd0$abdb7670$@d-silva.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQMagew30YCVD5mEhyHx4HPts9xr1AHAzoGyAvGIFSOjiHU+kA== Content-Language: en-au X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail2.nmnhosting.com [10.0.1.20]); Sat, 13 Apr 2019 09:22:12 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----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 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. -- Alastair D'Silva mob: 0423 762 819 skype: alastair_dsilva msn: alastair@d-silva.org blog: http://alastair.d-silva.org Twitter: @EvilDeece