Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1240005pxb; Thu, 16 Sep 2021 03:05:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz18/oS1eovdp2sVj+sYM/ZskEatRfJ98Y5DuW80x2mjoTGY1zsdu2dKyTlXV7UFdtWzsz8 X-Received: by 2002:a17:907:7613:: with SMTP id jx19mr5440257ejc.453.1631786706309; Thu, 16 Sep 2021 03:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631786706; cv=none; d=google.com; s=arc-20160816; b=WRGZy3gVhRX3rStv9vSlhDfNh7+enb2mdVUGfE3mux7iubko7nEh9kl9iCu1HwZW8A rUIY3y2LYAUoMWSoBjGAC8HUUCnzKBVMuPpPS2j5mj2A8P2B8t83LzvMaT0/PoZGxAT6 HUpiU7t01ygDLbRWLAWXZm1LT+JwuTtRW1tcPqHvs0B/oVOO0tp2rl4sEa5/D99DoYS0 QOdU/vxnFYRsLSIM3hudH2EQE2JRGeOiFi9tU5+Yi/pgKUue2eK9BmSiYO5utd41YPHa isgPyhFNDdOFxOV2ZOklauJwpszdCUY6AoWZzP+1GppDEjbsmAC+P9sDOtl6PuMkkJ8P 4sgg== 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=nYLXu40n5BlNNZ1ZZo4YAdI74ZwOUPwUslx5aAK6Hq8=; b=W5gK93CngJ+mY87Kr5kwPlWvuPSQF2RL/W3AGFlgTXxn6dvTunv0tmEwefMtnu3CtP Q0sT9dU1xPIc3ysy6Ik2sJgejV2K3obRXHUsp6aqGoE1jXqNUVnueYwWyGu4snMqkzNR U6FImvHxBu6IwPEa/3+W6XB5vAgP9v9YLzT9eh+aih3kZ4edlsaCVIwjchIee1rOkJiR Wubv01AQ5bRP6QlVSuleJq2aYiXIDoZB8y3NVd1lXpIAih3WF19ZC1+onv8zWPNIZEJr 2RYlTTEkPYSL6mAxe5NRSHMTInd5ToTiMtxY0EiO4briRnvlVA0bV/ooSXfM5CECtWg7 hgiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O+Vb4svG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id la20si3463338ejc.3.2021.09.16.03.04.41; Thu, 16 Sep 2021 03:05:06 -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=@kernel.org header.s=k20201202 header.b=O+Vb4svG; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235633AbhIPKEk (ORCPT + 99 others); Thu, 16 Sep 2021 06:04:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:60612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235287AbhIPKEk (ORCPT ); Thu, 16 Sep 2021 06:04:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D222F60F6C; Thu, 16 Sep 2021 10:03:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631786599; bh=nYLXu40n5BlNNZ1ZZo4YAdI74ZwOUPwUslx5aAK6Hq8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O+Vb4svGeHChlaklUGMZbA+r4Dh4W+rnNEV6FdaLFumpFYtv64HuipBv5qho6Cd1S oGVFyszd3nNUuAXEjtFULgYOA0YCaSmLXdYbJwccvfgEdoFUK8dFJ45bgF0zd2OmmI mSMF8XrFv7j6Bf3JN4PEKgHz/SwHBZJSz0NTPrxfd0w2QKEq745vKVt9KZ0X5Um3c9 qKaQLJIsRFE67j0EaIviAmjT13ZJdi/8sFdgFm3c0XfX4oY10uIm/XfMWpL/DNQYjE GjLJ+HkYYNe0Vq4OF8lOCFqeoSj+xQV74yEEeFNYNa9ihMAzU/zyfkMa/Ps04F5bMm JfK5jGYZhROHg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1mQoEi-0005SF-Nx; Thu, 16 Sep 2021 12:03:20 +0200 Date: Thu, 16 Sep 2021 12:03:20 +0200 From: Johan Hovold To: Jiri Slaby Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 16/16] tty: drop tty_flip_buffer_push Message-ID: References: <20210914091134.17426-1-jslaby@suse.cz> <20210914091415.17918-1-jslaby@suse.cz> <20210914091415.17918-9-jslaby@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210914091415.17918-9-jslaby@suse.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 14, 2021 at 11:14:15AM +0200, Jiri Slaby wrote: > Since commit a9c3f68f3cd8d (tty: Fix low_latency BUG) in 2014, > tty_flip_buffer_push() is only a wrapper to tty_schedule_flip(). All > users were converted, so remove tty_flip_buffer_push() completely. Did you consider inlining tty_flip_buffer_push() or unexporting tty_schedule_flip() instead? The name tty_flip_buffer_push() is arguable more descriptive since the work may already be running and is also less tied to the implementation. The ratio of drivers using tty_flip_buffer_push() over tty_schedule_flip() is also something like 186 to 15 so that would amount to a lot less churn too. Also, can you please start adding cover letters to your series to provide an overview of what it is you're trying to accomplish? Johan