From owner-cvs-src@FreeBSD.ORG Thu Mar 3 23:23:31 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3200916A4CE; Thu, 3 Mar 2005 23:23:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 168F543D49; Thu, 3 Mar 2005 23:23:31 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j23NNRrq077800; Thu, 3 Mar 2005 23:23:29 GMT (envelope-from davidxu@freebsd.org) Message-ID: <42279C72.2000208@freebsd.org> Date: Fri, 04 Mar 2005 07:23:30 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.2) Gecko/20041004 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Julian Elischer References: <200503021343.j22DhpQ3075008@repoman.freebsd.org> <200503020915.28512.jhb@FreeBSD.org> <4226446B.7020406@freebsd.org> <20050303033115.GA13174@VARK.MIT.EDU> <42269DB0.6070107@freebsd.org> <20050303052902.GA14011@VARK.MIT.EDU> <422771E9.6070405@elischer.org> In-Reply-To: <422771E9.6070405@elischer.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@freebsd.org cc: David Schultz cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: John Baldwin Subject: Re: cvs commit: src/sys/kern kern_sig.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 23:23:31 -0000 Julian Elischer wrote: >> >> >>>> The alternative, of course, is to just fix the code that assumes >>>> that swapping doesn't exist. >>>> >>>> >>> >>> First find all code written in such way, but it is not that easy. >>> >> >> >> True. If we changed msleep() to disable swapping by default, then >> we wouldn't have to worry about correctness problems related to >> missing some. >> >> > > adding the flag to ENABLE swapping would be ABI compatible. > > how about adding a PNOSWAP to msleep ? but I won't trust the kernel under swapping, because they can not give me 100% guarantee, my machine crashes several times per-month, even when fscking at boot time, mostly it is a page fault. David Xu