Re: Request: increase in PCI bus limit

Helge Hafting (helgehaf@idb.hist.no)
Wed, 31 Jan 2001 10:10:59 +0100


"Udo A. Steinberg" wrote:
>
> Christopher Neufeld wrote:
>
> > The only patch
> > which has to be applied to make Linux run stably on these systems is to
> > increase that limit. Would it be possible to bump it up to 128, or even
> > 256, in later 2.4.* kernel releases? That would allow this customer to
> > work with an unpatched kernel, at the cost of an additional 3.5 kB of
> > variables in the kernel.
>
> I guess the cleanest solution would be to allow variable setting of the
> maximum number of PCI busses in the config file, similar to the
> CONFIG_UNIX98_PTY_COUNT setting, so that "exotic" users with 32+ PCI
> busses can boost the standard value according to their needs, without
> having to increase kernel size for the normal users.
>
Wouldn't autodetection be the better solution? Seems to me the kernel
has
no problem detecting all the buses, so why not break the probing into a
two-
pass thing - first pass simply counts buses, second pass allocate memory
and fills in the arrays.
(One-pass is possible too, if dynamic allocation is possible at this
time.)
No config option to worry about, no excess room for 32 buses on ordinary
pc's, no worry for the 100-bus user.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/