Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/i386/vm_machdep.c
Show First 20 Lines • Show All 762 Lines • ▼ Show 20 Lines | if (!CPU_ISSET(cpuid, &sf->cpumask)) { | ||||
invlpg(sf->kva); | invlpg(sf->kva); | ||||
} | } | ||||
if ((flags & SFB_CPUPRIVATE) == 0) { | if ((flags & SFB_CPUPRIVATE) == 0) { | ||||
other_cpus = all_cpus; | other_cpus = all_cpus; | ||||
CPU_CLR(cpuid, &other_cpus); | CPU_CLR(cpuid, &other_cpus); | ||||
CPU_NAND(&other_cpus, &sf->cpumask); | CPU_NAND(&other_cpus, &sf->cpumask); | ||||
if (!CPU_EMPTY(&other_cpus)) { | if (!CPU_EMPTY(&other_cpus)) { | ||||
CPU_OR(&sf->cpumask, &other_cpus); | CPU_OR(&sf->cpumask, &other_cpus); | ||||
smp_masked_invlpg(other_cpus, sf->kva); | smp_masked_invlpg(other_cpus, sf->kva, kernel_pmap); | ||||
} | } | ||||
} | } | ||||
sched_unpin(); | sched_unpin(); | ||||
} | } | ||||
#endif | #endif | ||||
/* | /* | ||||
* MD part of sf_buf_free(). | * MD part of sf_buf_free(). | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |