Hello

Here is a piece of code from cacheController.cpp

bool CacheController::handle_interconnect_cb(void* arg)
{
...................
/*
         * We are going to access the cache later, to make
         * sure that this entry is not cleared enable the
         * cache access event flag of this entry
         */
        queueEntry->eventFlags[CACHE_ACCESS_EVENT]++;

       .......

        /* Check dependency and access the cache */
        CacheQueueEntry* dependsOn = find_dependency(msg->request);

        if (dependsOn)
        {

            dependsOn->depends = queueEntry->idx;
           ////Then stats are updated
        }
        else
        {
            cache_access_cb(queueEntry);
        }
.......
}

My question is: If dependsOn is true, cache_access_cb is not called,
although the flag is set. Does it create error?



Thanks and Regards
Sparsh Mittal
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel

Reply via email to