Sistemas Operativos Gestão de Memória
Memória Virtual
Memória Virtual
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Algoritmo WSClock◮ O algoritmo anterior é pouco eficiente pois exige um varrimento<strong>de</strong> toda a tabela <strong>de</strong> páginas dum processo sempre que ocorreuma page fault2204 Current virtual time◮ O tempo do último acesso émantido como no algoritmo do WS◮ Quando ocorre uma page-fault ohandler analisa a páginaapontada pelo ponterio.◮ O algoritmo só expulsa páginascuja ida<strong>de</strong> é superior a τ2003 12003 11620 02084 1 2032 11980 1 2014 11213 0(a)1620 0Time oflast use2084 1 2032 12020 12020 1R bit1620 02084 1 2032 12003 12020 11980 1 2014 01213 0(b)1620 02084 1 2032 12003 12020 11980 1 2014 01980 1 2014 01213 0(c)2204 1(d)New page