From: "Theodore Y. Ts'o" <[EMAIL PROTECTED]>
> It adds almost a kilobyte worth of extra non-swappable kernel memory
> which can't be marked __init in the module case, since some pci boards
> require struct pci_board for shutting down the pci board cleanly.  If we
> ever support hot-swappable PCI cards, then the table will have to
> permanently loaded into memory even the serial driver is compiled into
> the kernel.

CompactPCI has a hot swap feature or requirement not sure
which. We probably would make hot swapable boards if we
went into CPci.

Would it be a bad idea to maintain a list of boards that need
shutdown info?

A) Split the pci array into two units, one for __initable info and
one for shutdown needed info.
B) Copy sutdown needed info from the __init array to a dynamically
allocated array as they are discovered.

> There are a lot of people who complain that the serial driver and the
> kernel in general is getting bloated, they're right.  If each driver
> adds an extra 1k of kernel memory just to support one vendor, over time,
> we're talking **major** kernel bloat.  Each tiny amount may be a
> vanishly small percentage of the kernel, but added up, it becomes a mess
> to deal with.

Bloat is always bad. :-)

..Stu



-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]

Reply via email to