From owner-freebsd-current Wed Aug 19 10:58:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA25074 for freebsd-current-outgoing; Wed, 19 Aug 1998 10:58:49 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from sos.freebsd.dk (sos.freebsd.dk [212.242.40.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA25056; Wed, 19 Aug 1998 10:58:42 -0700 (PDT) (envelope-from sos@sos.freebsd.dk) Received: (from sos@localhost) by sos.freebsd.dk (8.9.1/8.8.8) id TAA00646; Wed, 19 Aug 1998 19:57:01 +0200 (CEST) (envelope-from sos) Message-Id: <199808191757.TAA00646@sos.freebsd.dk> Subject: Re: softupdates and smp crash In-Reply-To: <199808191504.LAA05903@lor.watermarkgroup.com> from Luoqi Chen at "Aug 19, 98 11:04:33 am" To: luoqi@watermarkgroup.com (Luoqi Chen) Date: Wed, 19 Aug 1998 19:57:01 +0200 (CEST) Cc: regnauld@deepo.prosa.dk, sos@FreeBSD.ORG, croot@btp1da.phy.uni-bayreuth.de, current@FreeBSD.ORG, smp@FreeBSD.ORG From: Søren Schmidt Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In reply to Luoqi Chen who wrote: > There is a race window between a directory entry is removed and dependency > for that directory entry is deallocated. The reason that the race window > has manifested itself on SMP is that the syncer process is a kernel thread, > so we can have two processes both running in kernel mode. The simplest > solution for now, IMO, is to make syncer process honor the giant lock. > The long term solution is, of course, close those race windows one by one. Care to fix it, the giant lock method should be fine for now ?? -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end? .. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message