From owner-cvs-all@FreeBSD.ORG Tue Oct 28 21:42:29 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6815E16A4CE; Tue, 28 Oct 2003 21:42:29 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E004A43FAF; Tue, 28 Oct 2003 21:42:28 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9T5gSXJ077055; Tue, 28 Oct 2003 21:42:28 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9T5gSHO077054; Tue, 28 Oct 2003 21:42:28 -0800 (PST) (envelope-from alc) Message-Id: <200310290542.h9T5gSHO077054@repoman.freebsd.org> From: Alan Cox Date: Tue, 28 Oct 2003 21:42:28 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm swap_pager.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2003 05:42:29 -0000 alc 2003/10/28 21:42:28 PST FreeBSD src repository Modified files: sys/vm swap_pager.c Log: - Avoid a race in swaponsomething(): Calculate the new swdevt's first and end swblk and insert this new swdevt into the list of swap devices in the same critical section. Revision Changes Path 1.236 +14 -17 src/sys/vm/swap_pager.c