Re: wired entry count problem on sun3x pmap
Jason Thorpe <[email protected]> Tue, 5 Sep 2006 10:01:33 -0700
| Newsgroups | gmane.os.netbsd.ports.sun3 |
|---|---|
| Message-ID | <[email protected]> |
On Sep 5, 2006, at 6:29 AM, Izumi Tsutsui wrote: > I wrote: > >> Unfortunately, after ~15 hours build on pkgsrc/lang/perl5 >> my 3/80 still got "panic: get_c_table: out of C tables." panic. >> I'll try to see if it's caused by real shortage (by fragments) >> or other leakage. > > I added some debug printf()s on C table shortage, and then > more than a half of tables look still unused on the panic. > So it looks the TAILQ structure corruption. > Actually, the panic sometime happened during bootstrap, > right after ntpd was started. (mlockall() might trigger it?) > > I wonder if we have to protect these TAILQ ops against A, B and C > tables by splvm()/splx() pairs... Comments? If those tables can be allocated as a side-effect of calling malloc (9), then yes. -- thorpej