linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* filemap_sync over-eager at flushing?
@ 2000-08-29 15:31 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2000-08-29 15:31 UTC (permalink / raw)
  To: linux-mm

Hi,

I've been looking at the TLB/Cache code in 2.4.0-test7 (prompted by
Dave Millers description in test8-pre1), and have come across something
odd:

filemap_sync() calls flush_{cache,tlb}_range().  In between, it
eventually calls filemap_sync_pte(), which uses flush_{cache,tlb}_page().
But hang on, we've already done flush_cache_range(), and are going to do
flush_tlb_range() in filemap_sync(), so isn't the flush_{cache,tlb}_page
rather unnecessary?
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        rmk@arm.linux.org.uk      --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html   /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-29 15:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-29 15:31 filemap_sync over-eager at flushing? Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox