Currently, the interface is like this:
void flush_cache_page(struct vm_area_struct *vma, unsigned long address)
This doesn't work well for (virtuall indexed) physically tagged
architecture.
When it is called from vmscan.c:try_to_swap_out, as the PTE is cleared
to be zero, we have no way to know what phisical address to match.
How about adding argument: struct page *page? With that, we have
information of physical memory.
-- - 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/
This archive was generated by hypermail 2b29 : Tue Aug 07 2001 - 21:00:32 EST