File tree Expand file tree Collapse file tree
libCacheSim/cache/eviction Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -265,10 +265,10 @@ static cache_obj_t *S3FIFO_insert(cache_t *cache, const request_t *req) {
265265 obj = main_fifo -> insert (main_fifo , req );
266266 } else {
267267 /* insert into small fifo */
268- // NOTE: Inserting an object whose size equals the entire cache size is NOT
269- // allowed. Doing so would completely fill the cache, causing all existing
270- // objects to be evicted. This scenario can occur frequently and is
271- // undesirable.
268+ // NOTE: Inserting an object whose size equals the size of small fifo is
269+ // NOT allowed. Doing so would completely fill the cache, causing all
270+ // existing objects to be evicted. This scenario can occur frequently and
271+ // is undesirable.
272272 if (req -> obj_size >= small_fifo -> cache_size ) {
273273 return NULL ;
274274 }
You can’t perform that action at this time.
0 commit comments