> dyo...@pobox.com said: > > > increased stack use lead to stack overflow on amd64 > > > with a deep PCI hierarchy > > Tell me more about this. > > It was sys/dev/pci/pci.c rev.1.141 which triggered it. > Stack use must already have been tight, and the additional > device number array was the last straw. > The question is now whether it is sufficient in the long run > to trim down stack usage (eg "devinfo" in ppbattach()), > or whether the kernel stack needs to be increased.
we should try to decrease kernel stack usage *espcially for* rarely occuring things like autoconfig. alloc/free here for whatever is using a lot of memory would be much better than increasing the minimum each LWP requires. .mrg.