Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1051212imm; Fri, 22 Jun 2018 09:30:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLOc3qXznS2bxwbt/fOiUvIUw1+1HQtZvuSjrRiA7fPKA6C/dG7H2BkDasAaXittQUa7MB9 X-Received: by 2002:a63:6d0:: with SMTP id 199-v6mr2013744pgg.338.1529685013066; Fri, 22 Jun 2018 09:30:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529685013; cv=none; d=google.com; s=arc-20160816; b=qS1x5kVe/yqWgCzOgGJfcNgFpvChjsPcwVaK+WFOX1F6Vfy6FauY7+WS592jQSSElF TsbB3gOVnDLT4Kz/mJuL9nI2gZDmVYNQfI0kJiwAafb2IOpC83WmJzeg9qiLr2fItn6j 11sfvTeoagIGj6af/w08SCAKJ3Ecy0X0BUDWxEgtU5bRpYiZFOcKymArVsRKrVQoTqNK DZRTmQt8Z281zD0zt3qoF6oS4Hiz6LDQIKg0XUhznxc81e7M72aLC+k55QfYkhu5W9Qp CU9B8xQzeS08MT/7T7uP4A7/5P2aP41Ws9fSA4i7Xo6+Cuu0ijTtLzjwO1QVPzdfJfiE b/tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=5kmVNfIncQct/1v90nkVOICvnUXSbbDADzsgaEaP7QU=; b=O32YSre9+fCoTRh7KDap6ZeAOXHli7ScFkd7eU46abwrrcV/Rjz7r53Gtdmlq0vMTp /VNNOENMElJ7koprqZxirXnrnr4eKGgGU2/WOj3vu6Rvg9y1ZRfbjoA+0gEa9JR3YWNe KRhDVCsDN9HKy8otxensOt5qKLMS4nWcb4KVGrEfuk2pr98woatfo6eh4fjDBOQw46iG KXpuCJaGEuOBxaSZIS4FXWEZbu7k9nISrnwrW+8bpNCjnC4KOlRo5oir8W2SY/wKb8L8 Bek+WA6enbdmJM7o0hM02RoCmD3s720AyrQ3jQ8ZIQ9DwmD7+LvnO4AwEsNeuwYSzLWZ uucA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ScbGlXLY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e37-v6si7956781plb.400.2018.06.22.09.29.47; Fri, 22 Jun 2018 09:30:13 -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=@linaro.org header.s=google header.b=ScbGlXLY; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934406AbeFVQ2U (ORCPT + 99 others); Fri, 22 Jun 2018 12:28:20 -0400 Received: from mail-qk0-f195.google.com ([209.85.220.195]:41276 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934164AbeFVQ2T (ORCPT ); Fri, 22 Jun 2018 12:28:19 -0400 Received: by mail-qk0-f195.google.com with SMTP id w23-v6so3971419qkb.8 for ; Fri, 22 Jun 2018 09:28:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=5kmVNfIncQct/1v90nkVOICvnUXSbbDADzsgaEaP7QU=; b=ScbGlXLYsAAG76fgKkydjALCO9Po5J1tlHJ63M38vlJHmGBcjnA+oYhHAOFDs4nsGL tsoTUlCZseE4ppWHQLFffIop3yGb25BTQRYQCT60LIleAXCZTeDJbHlu6y8nzA1fG45H kbc4PPtPVGyz+VUDeaIx9AhJHzTVY0vK/7Bcs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=5kmVNfIncQct/1v90nkVOICvnUXSbbDADzsgaEaP7QU=; b=ipF/AMEFXujS39B9Bfwf2Bqvdb7pimZPeztDm8OoF4PTc7irFiOMD8zMhEebgBpXYw QZv0nut6q1qggB6P0oQwr+Smy8JNhYZiP9DA19mMr9lkPLFTErokr6TyBwgES+QkcrRy hQwRq4f+4xDZmpDT9cIOmxWuS3xOCPpdtlNStgv4gCQjA+qTNI0vqSNN2UVQ6onH7lxL p3kHoeRxZvaXddIrEgf+P222YpdYP9791mbojZxqXSLiD/xFWQ56v6C2KlaOoWevBd/Q u4PAT2EmvO5R6mPEblsJrFzAz3yVblk+vle1IYaO7J4C8WTJPdtX8nSb19UroiNSFAg4 Qyvw== X-Gm-Message-State: APt69E1NgWAqHu9UnzSUU/dgaL6tN4UQpGRBle487ohC9MaAraNxrbeP sd3KBkLtjZQdcSj7zvTRGO6Er5v4u2o= X-Received: by 2002:a37:4142:: with SMTP id o63-v6mr1929399qka.287.1529684899255; Fri, 22 Jun 2018 09:28:19 -0700 (PDT) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id g18-v6sm6021128qtg.59.2018.06.22.09.28.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Jun 2018 09:28:18 -0700 (PDT) Date: Fri, 22 Jun 2018 12:28:17 -0400 (EDT) From: Nicolas Pitre To: Alan Cox cc: Adam Borowski , Dave Mielke , Greg Kroah-Hartman , Samuel Thibault , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] have the vt console preserve unicode characters In-Reply-To: <20180622165927.68679862@alans-desktop> Message-ID: References: <20180617190706.14614-1-nicolas.pitre@linaro.org> <20180619130953.bxil552igfkckjmr@angband.pl> <20180621014317.ebslk3gwvpq3k6sq@angband.pl> <20180621022137.GB18453@beta.private.mielke.cc> <20180622015445.7r5u5nn6ofhd4k57@angband.pl> <20180622165927.68679862@alans-desktop> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Jun 2018, Alan Cox wrote: > > The other point is a quite pointless assumption that existing scrollback is > > "optimized". Even vgacon mostly uses software scrollback these days, as the > > amount of VGA display memory is really small. > > All of our console driver code is horribly unoptimized for most of > todays hardware. Long ago I did look at what was needed but it's a > seriously non-trivial change. In particular > > - Console I/O occurs under enough locks to keep fort knox safe. That > means it's very very hard to accelerate > > - The logic is plain wrong for a lot of modern video. We shouldn't be > scrolling, we should be rendering the current backing text buffer at > video refresh rate or similar and if the source of the updates outruns > us it doesn't matter - we don't have to draw all the glyphs as if we > were fast enough they would have been a blur anyway. My executive summary from what you say is that there is no longer an advantage to maintain a central vga-style glyph buffer in the core console code, right? Nicolas