Update others/lru_cache.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
Nitin Sharma 2021-08-12 23:48:21 +05:30 committed by GitHub
parent 5a48547bb1
commit 4e223bc3c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
* * In such an implementation, every time a cache-line is used, the age of * * In such an implementation, every time a cache-line is used, the age of
* all other cache-lines changes * all other cache-lines changes
* *
* ### Algorithm explanation: * ### Algorithm explanation
* For a cache of page frame x: * For a cache of page frame x:
* * Check if the page is present in cache. * * Check if the page is present in cache.
* * If not present, then check is the cache is full or not: * * If not present, then check is the cache is full or not: