Re: flush_tlb_all in vmalloc_area_pages

David S. Miller (davem@redhat.com)
Thu, 20 Sep 2001 14:26:38 -0700 (PDT)


From: Andrea Arcangeli <andrea@suse.de>
Date: Fri, 7 Sep 2001 16:56:12 +0200

For the flush_cache_all for the virtually indexed caches should be the
same issue in theory (at least the kmap logic only needs to flush the
caches before the unmapping [not before the mapping] too)

Am I missing something, Dave?

Anything that creates or takes away vmalloc() mappings needs to flush
the data cache if it is virtuall indexed.

I am always uncomfortable when I see people suggesting to remove
flushes from kernel virtual mapping setup/teardown.

Later,
David S. Miller
davem@redhat.com
-
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/