Re: flush_tlb_all in vmalloc_area_pages

From: David S. Miller (davem@redhat.com)
Date: Thu Sep 20 2001 - 16:26:38 EST


   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/



This archive was generated by hypermail 2b29 : Sun Sep 23 2001 - 21:00:40 EST