Re: wired entry count problem on sun3x pmap
Izumi Tsutsui <[email protected]> Tue, 12 Sep 2006 00:30:32 +0900
| Newsgroups | gmane.os.netbsd.ports.sun3 |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > > 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. These TAILQs are modified in pmap_enter(), pmap_unwire() and pmap_remove(). In this case, should these functions be protected by splvm()? (3/80 is too slow to confirm how patches work... :-) --- Izumi Tsutsui