Port-i386 archive

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

re: CVS commit: src/sys/arch/i386/i386



> dyoung%pobox.com@localhost 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.


Home | Main Index | Thread Index | Old Index