Re: serial: SERIAL_8250_RUNTIME_UARTS must be <= SERIAL_8250_NR_UARTS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 06, 2006 at 09:42:19PM +1100, Yuki Cuss wrote:
 > David Vrabel wrote:
 > 
 > >If SERIAL_8250_RUNTIME_UARTS is > SERIAL_8250_NR_UARTS then more serial
 > >ports are registered than we've allocated memory for.  Prevent this by
 > >limiting SERIAL_8250_RUNTIME_UARTS in the serial Kconfig.
 > >
 > >Signed-off-by: David Vrabel <[email protected]>
 > > 
 > >
 > 
 > Is there any real use case for having *less* registered serial ports and 
 > having some spare?

Having the ability to build a kernel image which supports many serial ports,
whilst at the same same time when booted on the common-case systems with
two serial ports, not creating so many /dev/ttyS* nodes or sysfs objects
wasting ram that'll never be used or reclaimed.

		Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux