From owner-freebsd-commit Tue Jul 11 12:24:30 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA01541 for commit-outgoing; Tue, 11 Jul 1995 12:24:30 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id MAA01528 for cvs-sys-outgoing; Tue, 11 Jul 1995 12:24:25 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id MAA01519 ; Tue, 11 Jul 1995 12:24:08 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id FAA26105; Wed, 12 Jul 1995 05:21:38 +1000 Date: Wed, 12 Jul 1995 05:21:38 +1000 From: Bruce Evans Message-Id: <199507111921.FAA26105@godzilla.zeta.org.au> To: bde@freefall.cdrom.com, rgrimes@gndrsh.aac.dev.com Subject: Re: cvs commit: src/sys/i386/isa syscons.c syscons.h Cc: CVS-commiters@freefall.cdrom.com, cvs-sys@freefall.cdrom.com Sender: commit-owner@FreeBSD.org Precedence: bulk >> Modified: sys/i386/isa syscons.c syscons.h >> Log: >> Fix races in scstart(). q_to_b() wasn't called at spltty(), so there >> were two races: >> - q_to_b() might unexpectedly return 0 (e.g, after a keyboard signal >> flushes the output queue and isn't echoed). ansi_put() interprets >> 0 bytes as 4GB... >Might this fix the problem that has been reported as ``switching VT's >at a rate of 1 a second for about 2 to 3 minutes will result in a system >hang?'' Probably not. I think attempting to print 4GB will just print some garbage and then panic when an unmapped page is hit. Bruce