From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753952AbcAEUsA (ORCPT ); Tue, 5 Jan 2016 15:48:00 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:49980 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753689AbcAEUr4 (ORCPT ); Tue, 5 Jan 2016 15:47:56 -0500 Date: Tue, 5 Jan 2016 20:47:45 +0000 From: One Thousand Gnomes To: "Austin S. Hemmelgarn" Cc: Greg KH , Pierre Paul MINGOT , jslaby@suse.cz, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Add possibility to set /dev/tty number Message-ID: <20160105204745.760727c1@lxorguk.ukuu.org.uk> In-Reply-To: <568C0DB5.8070200@gmail.com> References: <20160104154305.GA24533@kroah.com> <568AA47D.6010604@gmail.com> <20160104171121.GA25961@kroah.com> <568ABCBD.3070909@gmail.com> <568C0DB5.8070200@gmail.com> Organization: Intel Corporation X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.29; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This means that not including the VT subsystem resulted in a 128k > reduction in runtime footprint, and having only half the number of VT's > resulted in a 52k reduction. Assuming a linear correlation between the > number of VT's and the runtime footprint of the subsystem, that means > the subsystem itself incurs 26k of overhead, and each VT incurs > approximately 1.6k of overhead. Doesn't seem an unreasonable value - so yes you've made an argument for dynamically allocating the vt structures when they are first referenced. Alan