]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enable virtual caching for kernel pages. When we enabled virtual caching
authorjake <jake@FreeBSD.org>
Tue, 1 Jan 2002 21:14:58 +0000 (21:14 +0000)
committerjake <jake@FreeBSD.org>
Tue, 1 Jan 2002 21:14:58 +0000 (21:14 +0000)
commit2a960306a9a69c8ba0f2664e77542a08c7994306
tree6b08774a90d09788de4f3042df8fd8e1bfd76344
parentcf2cecbdf08a6f1a4534602b0a67da8b45fb2b7f
Enable virtual caching for kernel pages.  When we enabled virtual caching
for certain user pages, stores to kernel pages would not update the
affected cache lines, which would sometimes cause the wrong data to be
returned for loads from kernel pages.  This was especially fatal when
the addresses affected held the kernel stack pointer, and a random
value was loaded into it.
Fix a harmless off by one error in a dcache_inval_phys call.
sys/sparc64/sparc64/pmap.c