Skip to contentSkip to conversation

ptep_set_access_flags() using UVMF_MULTI?

DISCUSSION Jan Beulich 2 participants 3 messages Mar 13, 2007

lore
Share & tools
lore
#0 lore raw

Why is this so when the touched mm is active, even though the alternative case and native only use flush_tlb_page() (i.e. only flush the local tlb)?

Thanks, Jan

#1 lore raw
Quoted 4 lines · Jan Beulich

Why is this so when the touched mm is active, even though the alternative case and native only use flush_tlb_page() (i.e. only flush the local tlb)?

Thanks, Jan

We don't need any more flushing than native. Perhaps the original native code did a cross-TLBs flush and that got reduced in more recent kernels but the Xen code didn't get modified? Anyway, please send a patch.

-- Keir

#2 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line

Keir Fraser <[email protected]> 13.03.07 13:09 >>>

Quoted 4 lines · Jan Beulich

Why is this so when the touched mm is active, even though the alternative case and native only use flush_tlb_page() (i.e. only flush the local tlb)?

Thanks, Jan

We don't need any more flushing than native. Perhaps the original native code did a cross-TLBs flush and that got reduced in more recent kernels but the Xen code didn't get modified? Anyway, please send a patch.

My mistake, I looked at the !SMP case (and even half-way knew I did, but didn't bother to look at the SMP one, too.

Sorry for the noise, Jan