lkml.org 
[lkml]   [2016]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Add possibility to set /dev/tty number
> 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


\
 
 \ /
  Last update: 2016-01-06 15:41    [W:0.328 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site