cvs commit: src/sys/kern kern_sig.c

David Xu davidxu at freebsd.org
Thu Mar 3 23:23:31 GMT 2005


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







More information about the cvs-src mailing list