From owner-freebsd-current Tue Jan 11 20:33:16 2000 Delivered-To: freebsd-current@freebsd.org Received: from 1Cust175.tnt1.washington.dc.da.uu.net (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 74EEC14F2D; Tue, 11 Jan 2000 20:33:12 -0800 (PST) (envelope-from green@FreeBSD.org) Date: Tue, 11 Jan 2000 23:33:12 -0500 (EST) From: Brian Fundakowski Feldman X-Sender: green@green.dyndns.org To: Bruce Evans Cc: Stephen McKay , freebsd-current@FreeBSD.ORG, dt@FreeBSD.ORG Subject: Re: Crash from ^T during heavy paging In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11 Jan 2000, Bruce Evans wrote: > I broke calcru() with the monotonicity fixes (kern_resource.c rev.1.45 > (1999/03/13). Accessing p->p_stats at interrupt time is only valid if > p == curproc. > > Fix: move the new monotonicity fields from struct pstats to struct > proc. I only put them in struct pstats because they logically go with > some fields in struct rusage. > > P_INMEM is probably not supposed to work in interrupt contexts. > Checking it in ttyinfo() is a wrong fix for the bug in calcru(). It > was committed in tty.c rev.1.119 (1999/05/22). Do you want to do this work, or shall I take out a bit of time and do it? I'm wondering since quite often when someone fixes something, you've got a similar fix already sitting in your local tree :) > > Bruce -- Brian Fundakowski Feldman \ FreeBSD: The Power to Serve! / green@FreeBSD.org `------------------------------' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message