From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752518AbcAFNyx (ORCPT ); Wed, 6 Jan 2016 08:54:53 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:53272 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbcAFNyu (ORCPT ); Wed, 6 Jan 2016 08:54:50 -0500 Date: Wed, 6 Jan 2016 13:54:39 +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: <20160106135439.52231ba2@lxorguk.ukuu.org.uk> In-Reply-To: <568D0BB6.30606@gmail.com> References: <20160104154305.GA24533@kroah.com> <568AA47D.6010604@gmail.com> <20160104171121.GA25961@kroah.com> <568ABCBD.3070909@gmail.com> <568C0DB5.8070200@gmail.com> <20160105204745.760727c1@lxorguk.ukuu.org.uk> <568D0BB6.30606@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 > In fact, there already appears to be some degree of allocation on demand > for VT's (otherwise deallocvt has no point), just not for everything > associated with the VT. I'd be willing to bet that almost everything > that reasonably can be dynamically allocated already is, there is a bare > minimum required for even a virtual device after all. If there is 1.6K overhead per vt coming from somewhere (given we only preallocate 1 VT) then either - There is stuff not being dynamically allocated (which you can find and fix) - Your userspace is triggering those dynamic allocations There is no magic thing that requires 1.6K of kernel data per console. Alan