Silence is the sound of me researching tlb shootdowns, ipi's and the like, to
prepare for doing this work. We don't have a flush_tlb_cpus at the moment,
however it doesn't look hard to write. We don't have save_pte_and_mm either,
and it seems that it's only valid in the case the page table use count is
one, otherwise we need a page table reverse mapping scheme, a practical and
worthwhile optimization, but not essential to get something working.
<rant>
This topic is very poorly covered in terms of background material. What
information there is seems to be scattered through various Intel manuals or
old lkml posts, or tucked away in professional seminars and higher level
computer engineering courses. Once again we have a situation where hackers
are divided into two groups: those that know the material and haven't got
time or inclination to document it, or those that don't know it and aren't
willling to admit that for fear of seeming ignorant.
</rant>
Davem has done a nice job of documenting the existing tlb operations, what's
missing is the information required to construct new ones. Can anybody out
there point me to a primer, or write one?
Looking at the current try_to_swap_out code I see only a local invalidate,
flush_tlb_page(vma, address), why is that? How do we know that this mm could
not be in context on another cpu?
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/