Every layer of the memory hierarchy has the following information associated with it to indicate how to manage information there and between that layer of the hierarchy and the one directly below it. Be careful-some books were written when there was a single cache level between the CPU and main memory.
Misses requiring replacement come in three categories: conflict, capacity, and compulsory. Compulsory misses occur when the machine is started, and upon the first execution of a given program, when all information associated with the process or program is most likely on disk, and not in the cache. Conflict misses occur when required location of a block in cache is occupied; these occur with direct mapped and set associative caches, when the set is full, and other portions of the cache are empty, but cannot be used by rule. Capacity misses occur when the cache is full; they can only occur with the fully associative memory organization.
If the cache is not changed on a write, but the next lower level in the cache is changed, then a write through strategy is in use.