Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: memory protection

Author: David Rasmussen

Date: 08:21:11 01/10/02

Go up one level in this thread


On January 10, 2002 at 10:13:34, Georg v. Zimmermann wrote:

>>Oh, of course. That was implied. The OS has to run in protected mode, not real
>>mode, to take advantage of this. But my point is that any OS that claims to have
>>any form of memory protection on x86 processors, must use the hardware
>>protection of the processor. It cannot be made in software. And as such, all
>>OS'es are equally good. At any rate, my practical experience is that Windows
>>2000 is as stable as Linux regarding this.
>>
>>/David
>
>I see. And back to my question. Does this mean it is extremely unlikely that
>program A makes program B crash by corrupting program Bs memory ?
>Or do you have to run in a special "protected mode" and how do you turn that on
>(in WinXP and 2000) ?
>

Protected mode is a mode in the processor, not in Windows 2000. Windows 2000
runs the processor in protected mode all the time.
And it is impossible for one process to write in the memory belonging to another
process without windows recieving and exception from the processor, which
results in Windows saying there has been an access violation or general
protection fault or whatever Windows calls it nowadays.

>This is of course assuming that you dont have any hardware trouble or other
>silly stuff on the PC.

Sure. If you experience crashes, it is probably either a bug in the program, or
faulty RAM.

/David



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.