TLB flushes on s390

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm looking though s390 code around page table handling and I found that
in many places s390 does tlb flush before changing page table entry.

Let's look for instance on pmdp_clear_flush() implementation on s390.
It's implemented with pmdp_get_and_clear() which does pmdp_flush_direct()
*before* pmd_clear(). That's invert order comparing to generic
pmdp_flush_direct().

The question is what prevents tlb from being re-fill between flushing tlb
and clearing page table entry?

-- 
 Kirill A. Shutemov

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]