Re: page fault panic tracked down (selwakeuppri())

From: Bruce Evans <bde_at_zeta.org.au>
Date: Wed, 31 Dec 2003 03:20:11 +1100 (EST)
On Tue, 30 Dec 2003, Stefan Ehmann wrote:

> On Tue, 2003-12-30 at 07:56, Bruce Evans wrote:
> > I have farily large patches which do buffering in ext2fs in a different
> > way so that the 2003/08/28 changes are irrelevant.  I will send these
> > in private mail.
>
> Applied the patches and rebuilt kernel. Unfortunately I got the same
> panic after 2 hours.

At least it's easy to duplicate, and another possible cause is ruled out.

Do you do anything special with ext2fs or have a special configuration?

It should be easy to turn off the selwakeuppri() chnages by editing a
line or two of selwakeuppri().  From sys_generic.c:

% /* Wake up a selecting thread. */
% void
% selwakeup(sip)
% 	struct selinfo *sip;
% {
% 	doselwakeup(sip, -1);
% }
%
% /* Wake up a selecting thread, and set its priority. */
% void
% selwakeuppri(sip, pri)
% 	struct selinfo *sip;
% 	int pri;
% {
% 	doselwakeup(sip, pri);
% }

Just change the last `pri' to -1.

Bruce
Received on Tue Dec 30 2003 - 07:20:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC