This repository has been archived by the owner on Aug 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
12.01-EP
29 lines (27 loc) · 1.55 KB
/
12.01-EP
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
EP
====
O novo EP tratará de compactação de memória.
.---------------. |
| 4 | | Para esse EP, precisaremos_criar_
1087 |---------------| | um mecanismo_de_compactação_de_
|+++++++++++++++| | memória, que_será_acionado_em_dois
|+++++++++++++++| | casos:
|---------------| | 1) Quando, na memória, não couber
| | | mais nenhum processo;
| 47 | | 2) Com uma chamada de sistema para
| | | o process manager for acionada.
|---------------| |
|+++++++++++++++| | Precisaremos usar o fork como
410 |---------------| | exemplo, pois ele faz modificações.
| | | Porém, não geraremos dois processos
|---------------| | filhos.
|+++++++++++++++| |
|+++++++++++++++| | Algumas preocupações extras:
100 |---------------| | - Observar em qual sentido a memória
| 30 | | é copiada pelo system task (que
'---------------' | definirá o sentido da compactação)
| - Verificar a modificação das seções
| de texto que ficam armazenadas na
| Tabela de Processos.
| - Tomar cuidado com processos
| duplicados pelo fork.