Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Mar 2005 07:23:30 +0800
From:      David Xu <davidxu@freebsd.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        John Baldwin <jhb@freebsd.org>
Subject:   Re: cvs commit: src/sys/kern kern_sig.c
Message-ID:  <42279C72.2000208@freebsd.org>
In-Reply-To: <422771E9.6070405@elischer.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42279C72.2000208>