Next: Semana 4
Up: 2000 - Agosto
Previous: Semana 2
  Sumário
- Veja o seguinte comentário no [] a respeito
das TLBs e a respeito da função flush_tlb.
- Translation Lookaside Buffers
- (...) Linux doesn't need to
manage the TLBs explicity, except to occasionally inform the CPU
that the TLBs have become invalid through some action by the kernel.
E ainda:
- __flush_tlb
- CR3 (Control Register 3) is the x86 CPU register
that holds the base address of the page directory. Loading a value
into this register makes the CPU think that the TLBs have become
invalid - even if it's loading the same value that CR3 already had.
(...) Note that the x86 also allows invalidating a single TLB entry
rather than the whole thing.
- Ou seja, o flush do MMU invalida o TLB do MMU, exatamente o que
era necessário.
- Questão: colocar um contador de páginas que estão no cache,
similar ao nswap do task_struct?
- Criação da função get_compressed_page(), que retorna o
endereço da estrutura no cache comprimido, similar ao
get_swap_page().
- Modificada a função compressed_copy para receber o endereço da
estrutura na qual copiará os dados da página original.
- Política utilizada: FIFO.
- Alteração da estrutura para armazenar mais informações
necessárias como: vma, tsk e pte.
- Disponibilidade da versão 0.002 do patch.
Next: Semana 4
Up: 2000 - Agosto
Previous: Semana 2
  Sumário
Rodrigo Souza de Castro
2000-12-18