Re: [PATCH] Add possibility to set /dev/tty number

From: One Thousand Gnomes
Date: Tue Jan 05 2016 - 15:48:06 EST


> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/