EECS Instructional Account
unread,Aug 10, 2008, 3:21:23 PM8/10/08You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
whats wrong with implementing an lru algorithm where the block just read
or write gets a lru.value = 0 (most recent accessed)and then I add 1 to
each OTHER VALID block's lru.value. Theoretically, two blocks should never
have the same value in between calls to accessMemory right? The reason I
ask is that Albert mentioned that we probably should change init_lru,
which zeroes out lru.value's