Welcome, Guest. Please login or register.

Author Topic: Memory Protection AGAIN  (Read 8349 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Fats

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 672
    • Show all replies
Re: Memory Protection Again
« on: April 02, 2008, 08:30:56 PM »
Quote

bloodline wrote:

Well, I suppose it is really... But, there is nothing really to debate on the "Sandbox" issue... :-D


Yes there is :-D:-D.
People often don't make a distinction between memory protection and virtual/private address spaces. But it are two different things.
On UNIX, Linux, Windows private address spaces are used as a mechanism to implement memory protection. That's also why a lot of people think that it is the only true way to implement MP. This is not true.
You can also have a single address space memory protected OS. IMO this is the way MP should be introduced into amiga-like OSes and I would implement it on the Memory Pool level. Per memory pool a program can decide which other programs can access this memory; old program would then just allocate memory from pools that can be read and written by all tasks. This makes also the 'sandboxing' much less intrusive then what people normally assume.

greets,
Staf.
Trust me...                                              I know what I\'m doing