summaryrefslogtreecommitdiffstats
path: root/lib/libkvm/kvm_proc.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2009-07-22 14:32:38 +0000
committerkib <kib@FreeBSD.org>2009-07-22 14:32:38 +0000
commitf8feb430b0a4639f63593e2ba2bb08a7aeae8ff8 (patch)
treec5c978d2492a738d39967d6c7d8761440339bfef /lib/libkvm/kvm_proc.c
parentce2a12d7ea97ed65c71fda5adaa5d168fbdaf9e3 (diff)
downloadFreeBSD-src-f8feb430b0a4639f63593e2ba2bb08a7aeae8ff8.zip
FreeBSD-src-f8feb430b0a4639f63593e2ba2bb08a7aeae8ff8.tar.gz
When the page caching attributes are changed, after new mapping is
established, OS shall flush the caches on all processors that may have used the mapping previously. This operation is not needed if processors support self-snooping. If not, but clflush instruction is implemented on the CPU, series of the clflush can be used on the mapping region. Otherwise, we have to flush the whole cache. The later operation is very expensive, and AMD-made CPUs do not have self-snooping. Implement cache flush for remapped region by using clflush for amd64, when supported by CPU. Proposed and reviewed by: alc Approved by: re (kensmith)
Diffstat (limited to 'lib/libkvm/kvm_proc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud