A cache control method controls data sharing conditions in a processor
system having multi-level caches that are in an inclusion relationship.
The cache control method indexes an upper level cache by a real address
and indexes a lower level cache by a virtual address, and prevents a real
address that is referred by a plurality of different virtual addresses
from being registered a plurality of times within the same cache. A
plurality of virtual addresses are registrable within the upper level
cache, so as to relax the data sharing conditions.